Uses of Class
gnu.math.IntNum
-
Packages that use IntNum Package Description gnu.expr SupportsExpression
, and various related classes need to compile programming languages.gnu.kawa.functions gnu.kawa.lispexpr gnu.kawa.xml gnu.lists Contains utility classes and interfaces for sequences (lists), arrays, and trees.gnu.math Supports various numeric types, including complex numbers, efficient bignums, exact rational numbers, units.gnu.xquery.util -
-
Uses of IntNum in gnu.expr
Methods in gnu.expr with parameters of type IntNum Modifier and Type Method Description void
VarValueTracker. noteSet(Declaration decl, IntNum source)
-
Uses of IntNum in gnu.kawa.functions
Methods in gnu.kawa.functions that return IntNum Modifier and Type Method Description static IntNum
Arithmetic. asIntNum(Object value)
static IntNum
Arithmetic. asIntNum(BigDecimal value)
static IntNum
Arithmetic. asIntNum(BigInteger value)
static IntNum
Expt. expt(IntNum x, int y)
static IntNum
BitwiseOp. shiftLeft(IntNum value, int count)
static IntNum
BitwiseOp. shiftRight(IntNum value, int count)
Methods in gnu.kawa.functions with parameters of type IntNum Modifier and Type Method Description Object
BitwiseOp. adjustResult(IntNum value, int code)
static IntNum
Expt. expt(IntNum x, int y)
static IntNum
BitwiseOp. shiftLeft(IntNum value, int count)
static IntNum
BitwiseOp. shiftRight(IntNum value, int count)
-
Uses of IntNum in gnu.kawa.lispexpr
Methods in gnu.kawa.lispexpr that return IntNum Modifier and Type Method Description static IntNum
LangObjType. coerceIntNum(Object value)
Methods in gnu.kawa.lispexpr with parameters of type IntNum Modifier and Type Method Description static Object
LangPrimType. convertIntegerLiteral(IntNum ivalue, PrimType type, boolean nativeValue)
-
Uses of IntNum in gnu.kawa.xml
Subclasses of IntNum in gnu.kawa.xml Modifier and Type Class Description class
XInteger
An integer that is an instance of a more specific integer type.Fields in gnu.kawa.xml declared as IntNum Modifier and Type Field Description IntNum
XIntegerType. maxValue
The upper bound, inclusive.IntNum
XIntegerType. minValue
The lower bound, inclusive.Methods in gnu.kawa.xml that return IntNum Modifier and Type Method Description IntNum
XIntegerType. valueOf(IntNum value)
IntNum
XIntegerType. valueOf(String value, int radix)
Methods in gnu.kawa.xml with parameters of type IntNum Modifier and Type Method Description IntNum
XIntegerType. valueOf(IntNum value)
Constructors in gnu.kawa.xml with parameters of type IntNum Constructor Description XIntegerType(Object name, XDataType base, int typeCode, IntNum min, IntNum max)
XIntegerType(String name, XDataType base, int typeCode, IntNum min, IntNum max)
-
Uses of IntNum in gnu.lists
Methods in gnu.lists with parameters of type IntNum Modifier and Type Method Description static Range.IntRange
Range. downto(IntNum iistart, IntNum iistep, IntNum iiend, boolean orEqual)
static Range.IntRange
Range. upto(IntNum iistart, IntNum iistep, IntNum iiend, boolean orEqual)
-
Uses of IntNum in gnu.math
Fields in gnu.math declared as IntNum Modifier and Type Field Description static IntNum
RatNum. ten_exp_9
Methods in gnu.math that return IntNum Modifier and Type Method Description static IntNum
IntNum. abs(IntNum x)
static IntNum
IntNum. add(int x, int y)
Add two ints, yielding an IntNum.static IntNum
IntNum. add(IntNum x, int y)
Add an IntNum and an int, yielding a new IntNum.static IntNum
IntNum. add(IntNum x, IntNum y)
Add two IntNums, yielding their sum as another IntNum.static IntNum
IntNum. add(IntNum x, IntNum y, int k)
Add two IntNums, yielding their sum as another IntNum.static IntNum
IntNum. alloc(int nwords)
Allocate a new non-shared IntNum.static IntNum
BitOps. and(IntNum x, int y)
Return the logical (bit-wise) "and" of an IntNum and an int.static IntNum
BitOps. and(IntNum x, IntNum y)
Return the logical (bit-wise) "and" of two IntNums.static IntNum
IntNum. asIntNumOrNull(Object value)
static IntNum
BitOps. bitOp(int op, IntNum x, IntNum y)
Do one the the 16 possible bit-wise operations of two IntNums.IntNum
IntNum. canonicalize()
IntNum
IntFraction. denominator()
IntNum
IntNum. denominator()
abstract IntNum
RatNum. denominator()
static IntNum
BitOps. extract(IntNum x, int startBit, int endBit)
Extract a bit-field as an unsigned integer.static IntNum
IntNum. gcd(IntNum x, IntNum y)
static IntNum
BitOps. ior(IntNum x, IntNum y)
Return the logical (bit-wise) "(inclusive) or" of two IntNums.static IntNum
IntNum. lcm(IntNum x, IntNum y)
static IntNum
IntNum. make(int value)
Return a (possibly-shared) IntNum with a given int value.static IntNum
IntNum. make(int[] words)
static IntNum
IntNum. make(int[] words, int len)
Make a canonicalized IntNum from an array of words.static IntNum
IntNum. make(long value)
static IntNum
BitOps. makeMask(int startBit, int endBit)
Create a mask with bits true form bits form startBit to endBit.static IntNum
IntNum. minusOne()
Return the IntNum for -1.static IntNum
IntNum. modulo(IntNum x, IntNum y)
static IntNum
IntNum. neg(IntNum x)
static IntNum
BitOps. not(IntNum x)
Return the logical (bit-wise) negation of an IntNum.IntNum
IntFraction. numerator()
IntNum
IntNum. numerator()
abstract IntNum
RatNum. numerator()
static IntNum
IntNum. one()
static IntNum
IntNum. power(IntNum x, int y)
Calculate the integral power of an IntNum.static IntNum
IntNum. quotient(IntNum x, IntNum y)
static IntNum
IntNum. quotient(IntNum x, IntNum y, int rounding_mode)
static IntNum
IntNum. remainder(IntNum x, IntNum y)
static IntNum
IntNum. remainder(IntNum x, IntNum y, int rounding_mode)
static IntNum
BitOps. reverseBits(IntNum x, int start, int end)
static IntNum
BitOps. setBitValue(IntNum x, int bitno, int newValue)
Set the value of a specified bit in an IntNum.static IntNum
IntNum. shift(IntNum x, int count)
static IntNum
IntNum. sub(IntNum x, IntNum y)
Subtract two IntNums, yielding their sum as another IntNum.static IntNum
IntNum. ten()
static IntNum
IntNum. times(int x, int y)
Multiply two ints, yielding an IntNum.static IntNum
IntNum. times(IntNum x, int y)
static IntNum
IntNum. times(IntNum x, IntNum y)
IntNum
IntNum. toExactInt(int rounding_mode)
IntNum
RatNum. toExactInt(int rounding_mode)
static IntNum
RealNum. toExactInt(double value)
Converts an integral double (such as a toInt result) to an IntNum.static IntNum
RealNum. toExactInt(double value, int rounding_mode)
Converts real to an exact integer, with specified rounding mode.IntNum
RealNum. toExactInt(int rounding_mode)
Converts to an exact integer, with specified rounding mode.IntNum
UByte. toIntNum()
IntNum
UInt. toIntNum()
IntNum
ULong. toIntNum()
IntNum
UnsignedPrim. toIntNum()
IntNum
UShort. toIntNum()
static IntNum
RealNum. toScaledInt(double f, int k)
Convert double to (rounded) integer, after multiplying by 10**k.IntNum
RealNum. toScaledInt(int k)
Convert this to (rounded) integer, after multiplying by 10**k.static IntNum
RealNum. toScaledInt(RatNum r, int k)
Convert rational to (rounded) integer, after multiplying by 10**k.static IntNum
IntNum. valueOf(byte[] digits, int byte_len, boolean negative, int radix)
static IntNum
IntNum. valueOf(char[] buf, int offset, int length, int radix, boolean negative)
static IntNum
IntNum. valueOf(int value)
Return a (possibly-shared) IntNum with a given int value.static IntNum
IntNum. valueOf(long value)
Return a (possibly-shared) IntNum with a given long value.static IntNum
IntNum. valueOf(String s)
static IntNum
IntNum. valueOf(String s, int radix)
static IntNum
IntNum. valueOfUnsigned(int value)
Make an IntNum from an unsigned 32-bit value.static IntNum
IntNum. valueOfUnsigned(long value)
Make an IntNum from an unsigned 64-bit value.static IntNum
BitOps. xor(IntNum x, IntNum y)
Return the logical (bit-wise) "exclusive or" of two IntNums.static IntNum
IntNum. zero()
Methods in gnu.math with parameters of type IntNum Modifier and Type Method Description static IntNum
IntNum. abs(IntNum x)
static IntNum
IntNum. add(IntNum x, int y)
Add an IntNum and an int, yielding a new IntNum.static IntNum
IntNum. add(IntNum x, IntNum y)
Add two IntNums, yielding their sum as another IntNum.static IntNum
IntNum. add(IntNum x, IntNum y, int k)
Add two IntNums, yielding their sum as another IntNum.static IntNum
BitOps. and(IntNum x, int y)
Return the logical (bit-wise) "and" of an IntNum and an int.static IntNum
BitOps. and(IntNum x, IntNum y)
Return the logical (bit-wise) "and" of two IntNums.static int
BitOps. bitCount(IntNum x)
Count one bits in an IntNum.static IntNum
BitOps. bitOp(int op, IntNum x, IntNum y)
Do one the the 16 possible bit-wise operations of two IntNums.static boolean
BitOps. bitValue(IntNum x, int bitno)
Return the value of a specified bit in an IntNum.static int
DFloNum. compare(IntNum x_num, IntNum x_den, double y)
Compare (x_num/x_den) with toExact(y).static int
IntNum. compare(IntNum x, long y)
Return -1, 0, or 1, depending on which value is greater.static int
IntNum. compare(IntNum x, IntNum y)
Return -1, 0, or 1, depending on which value is greater.static void
IntNum. divide(long x, long y, IntNum quotient, IntNum remainder, int rounding_mode)
static void
IntNum. divide(IntNum x, IntNum y, IntNum quotient, IntNum remainder, int rounding_mode)
Divide two integers, yielding quotient and remainder.static boolean
IntNum. equals(IntNum x, IntNum y)
static IntNum
BitOps. extract(IntNum x, int startBit, int endBit)
Extract a bit-field as an unsigned integer.static IntNum
IntNum. gcd(IntNum x, IntNum y)
static IntNum
BitOps. ior(IntNum x, IntNum y)
Return the logical (bit-wise) "(inclusive) or" of two IntNums.static IntNum
IntNum. lcm(IntNum x, IntNum y)
static int
BitOps. lowestBitSet(IntNum x)
static RatNum
RatNum. make(IntNum num, IntNum den)
static IntNum
IntNum. modulo(IntNum x, IntNum y)
static IntNum
IntNum. neg(IntNum x)
static IntNum
BitOps. not(IntNum x)
Return the logical (bit-wise) negation of an IntNum.Numeric
DFloNum. power(IntNum y)
Numeric
IntNum. power(IntNum y)
static IntNum
IntNum. power(IntNum x, int y)
Calculate the integral power of an IntNum.Numeric
Numeric. power(IntNum y)
Return this raised to an integer power.Numeric
RatNum. power(IntNum y)
Numeric
Unit. power(IntNum y)
static IntNum
IntNum. quotient(IntNum x, IntNum y)
static IntNum
IntNum. quotient(IntNum x, IntNum y, int rounding_mode)
static IntNum
IntNum. remainder(IntNum x, IntNum y)
static IntNum
IntNum. remainder(IntNum x, IntNum y, int rounding_mode)
static IntNum
BitOps. reverseBits(IntNum x, int start, int end)
void
IntNum. set(IntNum y)
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.static void
BitOps. setBitOp(IntNum result, int op, IntNum x, IntNum y)
Do one the the 16 possible bit-wise operations of two IntNums.static IntNum
BitOps. setBitValue(IntNum x, int bitno, int newValue)
Set the value of a specified bit in an IntNum.void
IntNum. setNegative(IntNum x)
Destructively set this to the negative of x.static IntNum
IntNum. shift(IntNum x, int count)
static IntNum
IntNum. sub(IntNum x, IntNum y)
Subtract two IntNums, yielding their sum as another IntNum.static boolean
BitOps. test(IntNum x, int y)
Return true iff an IntNum and an int have any true bits in common.static boolean
BitOps. test(IntNum x, IntNum y)
Return true iff two IntNums have any true bits in common.static IntNum
IntNum. times(IntNum x, int y)
static IntNum
IntNum. times(IntNum x, IntNum y)
static IntNum
BitOps. xor(IntNum x, IntNum y)
Return the logical (bit-wise) "exclusive or" of two IntNums.Constructors in gnu.math with parameters of type IntNum Constructor Description IntFraction(IntNum num, IntNum den)
-
Uses of IntNum in gnu.xquery.util
Fields in gnu.xquery.util declared as IntNum Modifier and Type Field Description static IntNum
IntegerRange. MAX_INT
static IntNum
IntegerRange. MIN_INT
Methods in gnu.xquery.util with parameters of type IntNum Modifier and Type Method Description static void
IntegerRange. integerRange(IntNum first, IntNum last, Consumer out)
static Object
NumberValue. roundHalfToEven(Object value, IntNum precision)
-