rem

operator fun rem(m: BigInteger): BigInteger

Returns a BigInteger whose value is (this rem m). This method differs from remainder in that it always returns a non-negative BigInteger.

Return

this rem m

See also

.remainder

Parameters

m

the modulus.

Throws