BigIntField class

Inheritance

Constructors

BigIntField()
const

Properties

additiveIdentity BigInt
The additive neutral element.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
infinity BigInt
Positive infinity.
no setterinherited
multiplicativeIdentity BigInt
The multiplicative neutral element.
no setteroverride
nan BigInt
Not a number.
no setterinherited
negativeInfinity BigInt
Negative infinity.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Operators

operator ==(Object other) bool
The equality operator.
inherited