rem

abstract operator fun rem(modulus: 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

Parameters

modulus

the modulus.

See also

.remainder

Throws


open operator fun rem(modulus: Int): BigInteger
open operator fun rem(modulus: Long): BigInteger