Java.Math.BigInteger.Mod Method
Returns a BigInteger whose value is this mod m.

Syntax

[Android.Runtime.Register("mod", "(Ljava/math/BigInteger;)Ljava/math/BigInteger;", "GetMod_Ljava_math_BigInteger_Handler")]
public virtual BigInteger Mod (BigInteger m)

Parameters

m
the modulus.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif m == null.
Java.Lang.ArithmeticExceptionif m .

Remarks

Returns a BigInteger whose value is this mod m. The modulus m must be positive. The result is guaranteed to be in the interval [0, m) (0 inclusive, m exclusive). The behavior of this function is not equivalent to the behavior of the % operator defined for the built-in int's.

[Android Documentation]

Requirements

Namespace: Java.Math
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1