divide


Description:

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

Returns integer quotient of this value divided by other.

Division is truncated toward zero.

Parameters:

other

divisor.

Returns:

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