remainder

abstract fun remainder(other: BigInteger): BigInteger

Returns a BigInteger whose value is (this % val).

Return

this % val

Parameters

other

value by which this BigInteger is to be divided, and the remainder computed.

Throws

if other is zero.


open fun remainder(other: Int): BigInteger
open fun remainder(other: Long): BigInteger