modPow method
Returns this integer to the power of exponent
modulo modulus
.
The exponent
must be non-negative and modulus
must be positive.
Implementation
@override
i2 modPow(unsigned exponent, unsigned modulus) =>
i2(value.modPow(exponent.value, modulus.value));