mod


Description:

public Result<BigInteger,Error> mod (BigInteger other)

Returns integer remainder of this value divided by other.

Remainder sign follows this value (dividend).

Parameters:

other

divisor.

Returns:

Result.ok(remainder), or Result.error(BigIntegerError.DIVISION_BY_ZERO) when divisor is zero.