Maven module :un.api : api-math :
Class :
un.impl.number.LargeInteger
Extends/Implements :
un.api.Orderable
un.impl.number.un.api.number.Number
Subclasses : -
Variables :
ZERO,
ONE,
TWO
Functions :
LargeInteger,
LargeInteger,
LargeInteger,
LargeInteger,
LargeInteger,
LargeInteger,
LargeInteger,
LargeInteger,
LargeInteger,
toHexString,
toString,
getSign,
getMagnitude,
getByteLength,
getBitLength,
getBit,
equals,
hashCode,
order,
add,
subtract,
mult,
divide,
zero,
isZero,
one,
isOne,
pow,
not,
and,
andNot,
or,
xor,
shiftRight,
shiftLeft,
toInteger,
toLong,
toFloat,
toDouble,
divideAndRemainder,
mod,
negate,
abs,
pow,
modPow,
modPowFast,
modInverse,
floorSqrt,
extendedEuclid,
gcd,
simplify
public LargeInteger
ZERO
public LargeInteger
ONE
public LargeInteger
TWO
public void
LargeInteger ()
public void
LargeInteger (LargeInteger other)
public void
LargeInteger (long n)
public void
LargeInteger (int sign, long[] magnitude)
public void
LargeInteger (int sign, byte[] magnitudeBytes)
public void
LargeInteger (char[] cArray, int radix)
public void
LargeInteger (char[] cArray)
public void
LargeInteger (String s, int radix)
public void
LargeInteger (String s)
public String
toHexString ()
public String
toString ()
public int
getSign ()
public long[]
getMagnitude ()
public int
getByteLength ()
public int
getBitLength ()
public boolean
getBit (int bitIndex)
public boolean
equals (Object otherObject)
public int
hashCode ()
public int
order (Object otherObject)
public LargeInteger
add (Arithmetic otherArithmetic)
public LargeInteger
subtract (Arithmetic otherArithmetic)
public LargeInteger
mult (Arithmetic otherArithmetic)
public LargeInteger
divide (Arithmetic otherArithmetic)
public LargeInteger
zero ()
public boolean
isZero ()
public LargeInteger
one ()
public boolean
isOne ()
public LargeInteger
pow (int n)
public LargeInteger
not ()
public LargeInteger
and (LargeInteger other)
public LargeInteger
andNot (LargeInteger other)
public LargeInteger
or (LargeInteger other)
public LargeInteger
xor (LargeInteger other)
public LargeInteger
shiftRight (int bitShift)
public LargeInteger
shiftLeft (int bitShift)
public int
toInteger ()
public long
toLong ()
public float
toFloat ()
public double
toDouble ()
public LargeInteger[]
divideAndRemainder (LargeInteger other)
public LargeInteger
mod (LargeInteger other)
public LargeInteger
negate ()
public LargeInteger
abs ()
public LargeInteger
pow (LargeInteger exponent)
public LargeInteger
modPow (LargeInteger exponent, LargeInteger modulus)
public LargeInteger
modPowFast (LargeInteger exponent, LargeInteger modulus)
public LargeInteger
modInverse (LargeInteger modulus)
public LargeInteger
floorSqrt ()
public LargeInteger[]
extendedEuclid (LargeInteger other)
public LargeInteger
gcd (LargeInteger other)
public int
simplify ()
author Bertrand COTE