Uses of Class gnu.math.IntNum

Uses in package gnu.kawa.functions

Fields of type gnu.math.IntNum

IntNum

Methods with return type gnu.math.IntNum

IntNum
Arithmetic.asIntNum(BigDecimal value)
IntNum
Arithmetic.asIntNum(BigInteger value)
IntNum
Arithmetic.asIntNum(Object value)

Uses in package gnu.kawa.xml

Classes derived from gnu.math.IntNum

class
An integer that is an instance of a more specific integer type.

Constructors with parameter type gnu.math.IntNum

XIntegerType.XIntegerType(Object name, XDataType base, int typeCode, IntNum min, IntNum max)
XIntegerType.XIntegerType(String name, XDataType base, int typeCode, IntNum min, IntNum max)

Fields of type gnu.math.IntNum

IntNum
The upper bound, inclusive.
IntNum
The lower bound, inclusive.

Methods with parameter type gnu.math.IntNum

IntNum

Methods with return type gnu.math.IntNum

IntNum
XIntegerType.valueOf(String value, int radix)
IntNum

Uses in package gnu.math

Constructors with parameter type gnu.math.IntNum

Methods with parameter type gnu.math.IntNum

IntNum
IntNum
Add two IntNums, yielding their sum as another IntNum.
IntNum
IntNum.add(IntNum x, IntNum y, int k)
Add two IntNums, yielding their sum as another IntNum.
IntNum
IntNum.add(IntNum x, int y)
Add an IntNum and an int, yielding a new IntNum.
IntNum
Return the logical (bit-wise) "and" of two IntNums.
IntNum
BitOps.and(IntNum x, int y)
Return the logical (bit-wise) "and" of an IntNum and an int.
int
Count one bits in an IntNum.
IntNum
BitOps.bitOp(int op, IntNum x, IntNum y)
Do one the the 16 possible bit-wise operations of two IntNums.
boolean
BitOps.bitValue(IntNum x, int bitno)
Return the value of a specified bit in an IntNum.
int
Return -1, 0, or 1, depending on which value is greater.
int
DFloNum.compare(IntNum x_num, IntNum x_den, double y)
Compare (x_num/x_den) with toExact(y).
int
IntNum.compare(IntNum x, long y)
Return -1, 0, or 1, depending on which value is greater.
void
IntNum.divide(IntNum x, IntNum y, IntNum quotient, IntNum remainder, int rounding_mode)
Divide two integers, yielding quotient and remainder.
void
IntNum.divide(long x, long y, IntNum quotient, IntNum remainder, int rounding_mode)
boolean
IntNum
BitOps.extract(IntNum x, int startBit, int endBit)
Extract a bit-field as an unsigned integer.
IntNum
IntNum
Return the logical (bit-wise) "(inclusive) or" of two IntNums.
IntNum
RatNum
RatNum.make(IntNum num, IntNum den)
IntNum
IntNum
IntNum
Return the logical (bit-wise) negation of an IntNum.
Numeric
Return this raised to an integer power.
Numeric
Return this raised to an integer power.
Numeric
Return this raised to an integer power.
Numeric
Return this raised to an integer power.
Numeric
Return this raised to an integer power.
IntNum
IntNum.power(IntNum x, int y)
Calculate the integral power of an IntNum.
IntNum
IntNum
IntNum.quotient(IntNum x, IntNum y, int rounding_mode)
IntNum
void
Destructively set the value of this to that of y.
void
IntNum.setAdd(IntNum x, int y)
Set this to the sum of x and y.
void
BitOps.setBitOp(IntNum result, int op, IntNum x, IntNum y)
Do one the the 16 possible bit-wise operations of two IntNums.
void
Destructively set this to the negative of x.
IntNum
IntNum.shift(IntNum x, int count)
IntNum
Subtract two IntNums, yielding their sum as another IntNum.
boolean
Return true iff two IntNums have any true bits in common.
boolean
BitOps.test(IntNum x, int y)
Return true iff an IntNum and an int have any true bits in common.
IntNum
IntNum
IntNum.times(IntNum x, int y)
IntNum
Return the logical (bit-wise) "exclusive or" of two IntNums.

Methods with return type gnu.math.IntNum

IntNum
IntNum
Add two IntNums, yielding their sum as another IntNum.
IntNum
IntNum.add(IntNum x, IntNum y, int k)
Add two IntNums, yielding their sum as another IntNum.
IntNum
IntNum.add(IntNum x, int y)
Add an IntNum and an int, yielding a new IntNum.
IntNum
IntNum.add(int x, int y)
Add two ints, yielding an IntNum.
IntNum
IntNum.alloc(int nwords)
Allocate a new non-shared IntNum.
IntNum
Return the logical (bit-wise) "and" of two IntNums.
IntNum
BitOps.and(IntNum x, int y)
Return the logical (bit-wise) "and" of an IntNum and an int.
IntNum
BitOps.bitOp(int op, IntNum x, IntNum y)
Do one the the 16 possible bit-wise operations of two IntNums.
IntNum
IntNum
IntNum
IntNum
IntNum
BitOps.extract(IntNum x, int startBit, int endBit)
Extract a bit-field as an unsigned integer.
IntNum
IntNum
Return the logical (bit-wise) "(inclusive) or" of two IntNums.
IntNum
IntNum
IntNum.make(int value)
Return a (possibly-shared) IntNum with a given int value.
IntNum
IntNum.make(int[] words)
IntNum
IntNum.make(int[] words, int len)
Make a canonicalized IntNum from an array of words.
IntNum
IntNum.make(long value)
Return a (possibly-shared) IntNum with a given long value.
IntNum
IntNum.makeU(long value)
Make an IntNum from an unsigned 64-bit value.
IntNum
Return the IntNum for -1.
IntNum
IntNum
IntNum
Return the logical (bit-wise) negation of an IntNum.
IntNum
IntNum
IntNum
IntNum
IntNum
IntNum.power(IntNum x, int y)
Calculate the integral power of an IntNum.
IntNum
IntNum
IntNum.quotient(IntNum x, IntNum y, int rounding_mode)
IntNum
IntNum
IntNum.shift(IntNum x, int count)
IntNum
Subtract two IntNums, yielding their sum as another IntNum.
IntNum
IntNum
IntNum
IntNum.times(IntNum x, int y)
IntNum
IntNum.times(int x, int y)
Multiply two ints, yielding an IntNum.
IntNum
RealNum.toExactInt(double value)
Converts an integral double (such as a toInt result) to an IntNum.
IntNum
RealNum.toExactInt(double value, int rounding_mode)
Converts real to an exact integer, with specified rounding mode.
IntNum
IntNum.toExactInt(int rounding_mode)
Converts to an exact integer, with specified rounding mode.
IntNum
RatNum.toExactInt(int rounding_mode)
IntNum
RealNum.toExactInt(int rounding_mode)
Converts to an exact integer, with specified rounding mode.
IntNum
RealNum.toScaledInt(double f, int k)
Convert double to (rounded) integer, after multiplying by 10**k.
IntNum
Convert rational to (rounded) integer, after multiplying by 10**k.
IntNum
Convert this to (rounded) integer, after multiplying by 10**k.
IntNum
IntNum.valueOf(String s)
IntNum
IntNum.valueOf(String s, int radix)
IntNum
IntNum.valueOf(byte[] digits, int byte_len, boolean negative, int radix)
IntNum
IntNum.valueOf(char[] buf, int offset, int length, int radix, boolean negative)
IntNum
Return the logical (bit-wise) "exclusive or" of two IntNums.
IntNum

Uses in package gnu.xquery.util

Fields of type gnu.math.IntNum

IntNum
IntNum

Methods with parameter type gnu.math.IntNum

void
Object
NumberValue.roundHalfToEven(Object value, IntNum precision)

Uses in package kawa.standard

Constructors with parameter type gnu.math.IntNum

expt.IntNum expt(IntNum x, int y)