An arbitrary precision integer.
no type hierarchy
no subtypes hierarchy
Attributes  
even  Source Codeshared formal Boolean even Determine if this number is even. A number i == 2*k Thus, 
float  Source Codeshared formal Float float The number, represented as a
Throws
See also runtime.maxExactIntegralFloat , nearestFloat 
integer  Source Codeshared formal Integer integer The number, as an The sign of the returned 
nearestFloat  Source Codeshared formal Float nearestFloat The nearest
This method never throws an See also float Since 1.3.2 
not  Source Codeshared formal Whole not The binary complement of this sequence of bits. The returned value will have the opposite sign of the orignal value. 
Inherited Attributes 
Attributes inherited from: Object 
Attributes inherited from: Enumerable<Other> 
Attributes inherited from: Integral<Other> 
Attributes inherited from: Invertible<Other> 
Attributes inherited from: Number<Other> 
Attributes inherited from: Ordinal<Other> 
Methods  
and  Source Codeshared formal Whole and(Whole other) Performs a logical AND operation. The result will be negative
if and only if both this and the other 
flip  Source Codeshared formal Whole flip(Integer index) Returns an instance with the given bit flipped to its
opposite value if 
get  Source Codeshared formal Boolean get(Integer index) Retrieves a given bit from the two's complement representation
of this Whole if 
leftLogicalShift  Source Codeshared formal Whole leftLogicalShift(Integer shift) Shift the sequence of bits to the left, by the given number of places, filling the least significant bits with zeroes. 
modulo  Source Codeshared formal Whole modulo(Whole modulus) The result of Refines Integral.modulo 
moduloInverse  Source Codeshared formal Whole moduloInverse(Whole modulus) The result of (this^{1} mod m) 
moduloPower  Source Codeshared formal Whole moduloPower(Whole exponent, Whole modulus) The result of Throws

offset  Source Codeshared formal Integer offset(Whole other) The distance between this whole and the other whole Throws
Refines Enumerable.offset 
or  Source Codeshared formal Whole or(Whole other) Performs a logical OR operation. The result will be negative
if and only if either this or the other 
power  Source Codeshared formal Whole power(Whole exponent) The result of raising this number to the given power. Special cases:
Throws
Refines Exponentiable.power 
powerRemainder  Source Codeshared Whole powerRemainder(Whole exponent, Whole modulus) Deprecated: Renamed to Throws
See also moduloPower() 
quotientAndRemainder  Source Codeshared formal Whole[2] quotientAndRemainder(Whole other) Returns a pair containing the same results as calling

rightArithmeticShift  Source Codeshared formal Whole rightArithmeticShift(Integer shift) Shift the sequence of bits to the right, by the given number of places, preserving the values of the most significant bits. If the sequence of bits represents a signed value, the sign is preserved. 
set  Source Codeshared formal Whole set(Integer index, Boolean bit = true) Returns an instance with the given bit set to the given
value if Parameters:

xor  Source Codeshared formal Whole xor(Whole other) Performs a logical XOR operation. The result will be negative
if and only if exactly one of this and the other 
Inherited Methods 
Methods inherited from: Object 
Methods inherited from: Comparable<Other> 
Methods inherited from: Enumerable<Other> 
Methods inherited from: Exponentiable<This,Other> 
Methods inherited from: Integral<Other> 
Methods inherited from: Invertible<Other> 
Methods inherited from: Number<Other> 
Methods inherited from: Numeric<Other> 
Methods inherited from: Summable<Other> 