BigInteger.ModPow(BigInteger, BigInteger) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a BigInteger whose value is
(this<sup>exponent</sup> mod m)
.
[Android.Runtime.Register("modPow", "(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;", "GetModPow_Ljava_math_BigInteger_Ljava_math_BigInteger_Handler")]
public virtual Java.Math.BigInteger ModPow (Java.Math.BigInteger exponent, Java.Math.BigInteger m);
[<Android.Runtime.Register("modPow", "(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;", "GetModPow_Ljava_math_BigInteger_Ljava_math_BigInteger_Handler")>]
abstract member ModPow : Java.Math.BigInteger * Java.Math.BigInteger -> Java.Math.BigInteger
override this.ModPow : Java.Math.BigInteger * Java.Math.BigInteger -> Java.Math.BigInteger
Parameters
- exponent
- BigInteger
the exponent.
the modulus.
Returns
this<sup>exponent</sup> mod m
- Attributes
Exceptions
if modulus == null
or exponent == null
.
if modulus
or if exponent
and
not relatively prime to modulus
.
Remarks
Java documentation for java.math.BigInteger.modPow(java.math.BigInteger, java.math.BigInteger)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.