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 voidVarValueTracker. 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 IntNumArithmetic. asIntNum(Object value)static IntNumArithmetic. asIntNum(BigDecimal value)static IntNumArithmetic. asIntNum(BigInteger value)static IntNumExpt. expt(IntNum x, int y)static IntNumBitwiseOp. shiftLeft(IntNum value, int count)static IntNumBitwiseOp. shiftRight(IntNum value, int count)Methods in gnu.kawa.functions with parameters of type IntNum Modifier and Type Method Description ObjectBitwiseOp. adjustResult(IntNum value, int code)static IntNumExpt. expt(IntNum x, int y)static IntNumBitwiseOp. shiftLeft(IntNum value, int count)static IntNumBitwiseOp. 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 IntNumLangObjType. coerceIntNum(Object value)Methods in gnu.kawa.lispexpr with parameters of type IntNum Modifier and Type Method Description static ObjectLangPrimType. 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 classXIntegerAn integer that is an instance of a more specific integer type.Fields in gnu.kawa.xml declared as IntNum Modifier and Type Field Description IntNumXIntegerType. maxValueThe upper bound, inclusive.IntNumXIntegerType. minValueThe lower bound, inclusive.Methods in gnu.kawa.xml that return IntNum Modifier and Type Method Description IntNumXIntegerType. valueOf(IntNum value)IntNumXIntegerType. valueOf(String value, int radix)Methods in gnu.kawa.xml with parameters of type IntNum Modifier and Type Method Description IntNumXIntegerType. 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.IntRangeRange. downto(IntNum iistart, IntNum iistep, IntNum iiend, boolean orEqual)static Range.IntRangeRange. 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 IntNumRatNum. ten_exp_9Methods in gnu.math that return IntNum Modifier and Type Method Description static IntNumIntNum. abs(IntNum x)static IntNumIntNum. add(int x, int y)Add two ints, yielding an IntNum.static IntNumIntNum. add(IntNum x, int y)Add an IntNum and an int, yielding a new IntNum.static IntNumIntNum. add(IntNum x, IntNum y)Add two IntNums, yielding their sum as another IntNum.static IntNumIntNum. add(IntNum x, IntNum y, int k)Add two IntNums, yielding their sum as another IntNum.static IntNumIntNum. alloc(int nwords)Allocate a new non-shared IntNum.static IntNumBitOps. and(IntNum x, int y)Return the logical (bit-wise) "and" of an IntNum and an int.static IntNumBitOps. and(IntNum x, IntNum y)Return the logical (bit-wise) "and" of two IntNums.static IntNumIntNum. asIntNumOrNull(Object value)static IntNumBitOps. bitOp(int op, IntNum x, IntNum y)Do one the the 16 possible bit-wise operations of two IntNums.IntNumIntNum. canonicalize()IntNumIntFraction. denominator()IntNumIntNum. denominator()abstract IntNumRatNum. denominator()static IntNumBitOps. extract(IntNum x, int startBit, int endBit)Extract a bit-field as an unsigned integer.static IntNumIntNum. gcd(IntNum x, IntNum y)static IntNumBitOps. ior(IntNum x, IntNum y)Return the logical (bit-wise) "(inclusive) or" of two IntNums.static IntNumIntNum. lcm(IntNum x, IntNum y)static IntNumIntNum. make(int value)Return a (possibly-shared) IntNum with a given int value.static IntNumIntNum. make(int[] words)static IntNumIntNum. make(int[] words, int len)Make a canonicalized IntNum from an array of words.static IntNumIntNum. make(long value)static IntNumBitOps. makeMask(int startBit, int endBit)Create a mask with bits true form bits form startBit to endBit.static IntNumIntNum. minusOne()Return the IntNum for -1.static IntNumIntNum. modulo(IntNum x, IntNum y)static IntNumIntNum. neg(IntNum x)static IntNumBitOps. not(IntNum x)Return the logical (bit-wise) negation of an IntNum.IntNumIntFraction. numerator()IntNumIntNum. numerator()abstract IntNumRatNum. numerator()static IntNumIntNum. one()static IntNumIntNum. power(IntNum x, int y)Calculate the integral power of an IntNum.static IntNumIntNum. quotient(IntNum x, IntNum y)static IntNumIntNum. quotient(IntNum x, IntNum y, int rounding_mode)static IntNumIntNum. remainder(IntNum x, IntNum y)static IntNumIntNum. remainder(IntNum x, IntNum y, int rounding_mode)static IntNumBitOps. reverseBits(IntNum x, int start, int end)static IntNumBitOps. setBitValue(IntNum x, int bitno, int newValue)Set the value of a specified bit in an IntNum.static IntNumIntNum. shift(IntNum x, int count)static IntNumIntNum. sub(IntNum x, IntNum y)Subtract two IntNums, yielding their sum as another IntNum.static IntNumIntNum. ten()static IntNumIntNum. times(int x, int y)Multiply two ints, yielding an IntNum.static IntNumIntNum. times(IntNum x, int y)static IntNumIntNum. times(IntNum x, IntNum y)IntNumIntNum. toExactInt(int rounding_mode)IntNumRatNum. toExactInt(int rounding_mode)static IntNumRealNum. toExactInt(double value)Converts an integral double (such as a toInt result) to an IntNum.static IntNumRealNum. toExactInt(double value, int rounding_mode)Converts real to an exact integer, with specified rounding mode.IntNumRealNum. toExactInt(int rounding_mode)Converts to an exact integer, with specified rounding mode.IntNumUByte. toIntNum()IntNumUInt. toIntNum()IntNumULong. toIntNum()IntNumUnsignedPrim. toIntNum()IntNumUShort. toIntNum()static IntNumRealNum. toScaledInt(double f, int k)Convert double to (rounded) integer, after multiplying by 10**k.IntNumRealNum. toScaledInt(int k)Convert this to (rounded) integer, after multiplying by 10**k.static IntNumRealNum. toScaledInt(RatNum r, int k)Convert rational to (rounded) integer, after multiplying by 10**k.static IntNumIntNum. valueOf(byte[] digits, int byte_len, boolean negative, int radix)static IntNumIntNum. valueOf(char[] buf, int offset, int length, int radix, boolean negative)static IntNumIntNum. valueOf(int value)Return a (possibly-shared) IntNum with a given int value.static IntNumIntNum. valueOf(long value)Return a (possibly-shared) IntNum with a given long value.static IntNumIntNum. valueOf(String s)static IntNumIntNum. valueOf(String s, int radix)static IntNumIntNum. valueOfUnsigned(int value)Make an IntNum from an unsigned 32-bit value.static IntNumIntNum. valueOfUnsigned(long value)Make an IntNum from an unsigned 64-bit value.static IntNumBitOps. xor(IntNum x, IntNum y)Return the logical (bit-wise) "exclusive or" of two IntNums.static IntNumIntNum. zero()Methods in gnu.math with parameters of type IntNum Modifier and Type Method Description static IntNumIntNum. abs(IntNum x)static IntNumIntNum. add(IntNum x, int y)Add an IntNum and an int, yielding a new IntNum.static IntNumIntNum. add(IntNum x, IntNum y)Add two IntNums, yielding their sum as another IntNum.static IntNumIntNum. add(IntNum x, IntNum y, int k)Add two IntNums, yielding their sum as another IntNum.static IntNumBitOps. and(IntNum x, int y)Return the logical (bit-wise) "and" of an IntNum and an int.static IntNumBitOps. and(IntNum x, IntNum y)Return the logical (bit-wise) "and" of two IntNums.static intBitOps. bitCount(IntNum x)Count one bits in an IntNum.static IntNumBitOps. bitOp(int op, IntNum x, IntNum y)Do one the the 16 possible bit-wise operations of two IntNums.static booleanBitOps. bitValue(IntNum x, int bitno)Return the value of a specified bit in an IntNum.static intDFloNum. compare(IntNum x_num, IntNum x_den, double y)Compare (x_num/x_den) with toExact(y).static intIntNum. compare(IntNum x, long y)Return -1, 0, or 1, depending on which value is greater.static intIntNum. compare(IntNum x, IntNum y)Return -1, 0, or 1, depending on which value is greater.static voidIntNum. divide(long x, long y, IntNum quotient, IntNum remainder, int rounding_mode)static voidIntNum. divide(IntNum x, IntNum y, IntNum quotient, IntNum remainder, int rounding_mode)Divide two integers, yielding quotient and remainder.static booleanIntNum. equals(IntNum x, IntNum y)static IntNumBitOps. extract(IntNum x, int startBit, int endBit)Extract a bit-field as an unsigned integer.static IntNumIntNum. gcd(IntNum x, IntNum y)static IntNumBitOps. ior(IntNum x, IntNum y)Return the logical (bit-wise) "(inclusive) or" of two IntNums.static IntNumIntNum. lcm(IntNum x, IntNum y)static intBitOps. lowestBitSet(IntNum x)static RatNumRatNum. make(IntNum num, IntNum den)static IntNumIntNum. modulo(IntNum x, IntNum y)static IntNumIntNum. neg(IntNum x)static IntNumBitOps. not(IntNum x)Return the logical (bit-wise) negation of an IntNum.NumericDFloNum. power(IntNum y)NumericIntNum. power(IntNum y)static IntNumIntNum. power(IntNum x, int y)Calculate the integral power of an IntNum.NumericNumeric. power(IntNum y)Return this raised to an integer power.NumericRatNum. power(IntNum y)NumericUnit. power(IntNum y)static IntNumIntNum. quotient(IntNum x, IntNum y)static IntNumIntNum. quotient(IntNum x, IntNum y, int rounding_mode)static IntNumIntNum. remainder(IntNum x, IntNum y)static IntNumIntNum. remainder(IntNum x, IntNum y, int rounding_mode)static IntNumBitOps. reverseBits(IntNum x, int start, int end)voidIntNum. set(IntNum y)Destructively set the value of this to that of y.voidIntNum. setAdd(IntNum x, int y)Set this to the sum of x and y.static voidBitOps. setBitOp(IntNum result, int op, IntNum x, IntNum y)Do one the the 16 possible bit-wise operations of two IntNums.static IntNumBitOps. setBitValue(IntNum x, int bitno, int newValue)Set the value of a specified bit in an IntNum.voidIntNum. setNegative(IntNum x)Destructively set this to the negative of x.static IntNumIntNum. shift(IntNum x, int count)static IntNumIntNum. sub(IntNum x, IntNum y)Subtract two IntNums, yielding their sum as another IntNum.static booleanBitOps. test(IntNum x, int y)Return true iff an IntNum and an int have any true bits in common.static booleanBitOps. test(IntNum x, IntNum y)Return true iff two IntNums have any true bits in common.static IntNumIntNum. times(IntNum x, int y)static IntNumIntNum. times(IntNum x, IntNum y)static IntNumBitOps. 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 IntNumIntegerRange. MAX_INTstatic IntNumIntegerRange. MIN_INTMethods in gnu.xquery.util with parameters of type IntNum Modifier and Type Method Description static voidIntegerRange. integerRange(IntNum first, IntNum last, Consumer out)static ObjectNumberValue. roundHalfToEven(Object value, IntNum precision)
-