BigIntField class
Methods
-
add(BigInt a, BigInt b)
→ BigInt
-
Computes the addition:
a + b
.
override
-
div(BigInt a, BigInt b)
→ BigInt
-
Computes the division:
a / b
.
override
-
division(BigInt a, BigInt b)
→ BigInt
-
Computes a truncating division:
a ~/ b
.
override
-
gcd(BigInt a, BigInt b)
→ BigInt
-
Computes the greatest common divisor:
gcd(a, b)
.
override
-
inv(BigInt a)
→ BigInt
-
Computes the multiplicative inverse:
1 / a
.
override
-
mod(BigInt a, BigInt b)
→ BigInt
-
Computes the remainder of the Euclidean division
a % b
.
override
-
modInverse(BigInt base, BigInt modulus)
→ BigInt
-
Computes the modular multiplicative inverse of
base
modulo modulus
.
override
-
modPow(BigInt base, BigInt exponent, BigInt modulus)
→ BigInt
-
Computes
base
to the power of exponent
modulo modulus
.
override
-
mul(BigInt a, BigInt b)
→ BigInt
-
Computes the multiplication:
a * b
.
override
-
neg(BigInt a)
→ BigInt
-
Computes the additive inverse:
-a
.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
pow(BigInt base, BigInt exponent)
→ BigInt
-
Computes
base
to the power of exponent
.
override
-
remainder(BigInt a, BigInt b)
→ BigInt
-
Computes the remainder of the truncating division.
override
-
scale(BigInt a, num f)
→ BigInt
-
Computes the multiplicative scaling:
a * f
.
override
-
sub(BigInt a, BigInt b)
→ BigInt
-
Computes the subtraction:
a - b
.
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
unsupportedOperation(String operation)
→ BigInt
-
Thrown when an operation is not supported.
inherited