|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IntNum | |
---|---|
gnu.kawa.functions | Various core run-time functions and operators. |
gnu.kawa.lispexpr | Support classes for compiling and running Lisp languages. |
gnu.kawa.xml | Classes for using XML within Kawa. |
gnu.math | Supports various numeric types, including complex numbers, efficient bignums, exact rational numbers, units. |
gnu.xquery.util | |
kawa.standard | Primitive Scheme syntax and functions. |
Uses of IntNum in gnu.kawa.functions |
---|
Fields in gnu.kawa.functions declared as IntNum | |
---|---|
static IntNum |
Arithmetic.ten_exp_9
|
Methods in gnu.kawa.functions that return IntNum | |
---|---|
static IntNum |
Arithmetic.asIntNum(java.math.BigDecimal value)
|
static IntNum |
Arithmetic.asIntNum(java.math.BigInteger value)
|
static IntNum |
Arithmetic.asIntNum(java.lang.Object value)
|
Uses of IntNum in gnu.kawa.lispexpr |
---|
Methods in gnu.kawa.lispexpr that return IntNum | |
---|---|
static IntNum |
LangObjType.coerceIntNum(java.lang.Object value)
|
Uses of IntNum in gnu.kawa.xml |
---|
Subclasses of IntNum in gnu.kawa.xml | |
---|---|
class |
XInteger
An integer that is an instance of a more specific integer type. |
Fields in gnu.kawa.xml declared as IntNum | |
---|---|
IntNum |
XIntegerType.maxValue
The upper bound, inclusive. |
IntNum |
XIntegerType.minValue
The lower bound, inclusive. |
Methods in gnu.kawa.xml that return IntNum | |
---|---|
IntNum |
XIntegerType.valueOf(IntNum value)
|
IntNum |
XIntegerType.valueOf(java.lang.String value,
int radix)
|
Methods in gnu.kawa.xml with parameters of type IntNum | |
---|---|
IntNum |
XIntegerType.valueOf(IntNum value)
|
Constructors in gnu.kawa.xml with parameters of type IntNum | |
---|---|
XIntegerType(java.lang.Object name,
XDataType base,
int typeCode,
IntNum min,
IntNum max)
|
|
XIntegerType(java.lang.String name,
XDataType base,
int typeCode,
IntNum min,
IntNum max)
|
Uses of IntNum in gnu.math |
---|
Methods in gnu.math that return IntNum | |
---|---|
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(java.lang.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)
Return a (possibly-shared) IntNum with a given long value. |
static IntNum |
IntNum.makeU(long value)
Make an IntNum from an unsigned 64-bit value. |
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.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)
|
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 |
IntNum.toExactInt(int rounding_mode)
|
IntNum |
RealNum.toExactInt(int rounding_mode)
Converts to an exact integer, with specified rounding mode. |
IntNum |
RatNum.toExactInt(int rounding_mode)
|
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(java.lang.String s)
|
static IntNum |
IntNum.valueOf(java.lang.String s,
int radix)
|
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 | |
---|---|
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 |
IntNum.compare(IntNum x,
IntNum y)
Return -1, 0, or 1, depending on which value is greater. |
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 void |
IntNum.divide(IntNum x,
IntNum y,
IntNum quotient,
IntNum remainder,
int rounding_mode)
Divide two integers, yielding quotient and remainder. |
static void |
IntNum.divide(long x,
long y,
IntNum quotient,
IntNum remainder,
int rounding_mode)
|
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 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 |
Unit.power(IntNum y)
|
Numeric |
IntNum.power(IntNum y)
|
Numeric |
DFloNum.power(IntNum y)
|
Numeric |
RatNum.power(IntNum y)
|
Numeric |
Numeric.power(IntNum y)
Return this raised to an integer power. |
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)
|
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. |
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 | |
---|---|
IntFraction(IntNum num,
IntNum den)
|
Uses of IntNum in gnu.xquery.util |
---|
Fields in gnu.xquery.util declared as IntNum | |
---|---|
static IntNum |
IntegerRange.MAX_INT
|
static IntNum |
IntegerRange.MIN_INT
|
Methods in gnu.xquery.util with parameters of type IntNum | |
---|---|
static void |
IntegerRange.integerRange(IntNum first,
IntNum last,
Consumer out)
|
static java.lang.Object |
NumberValue.roundHalfToEven(java.lang.Object value,
IntNum precision)
|
Uses of IntNum in kawa.standard |
---|
Methods in kawa.standard that return IntNum | |
---|---|
static IntNum |
expt.expt(IntNum x,
int y)
|
Methods in kawa.standard with parameters of type IntNum | |
---|---|
static IntNum |
expt.expt(IntNum x,
int y)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |