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