BigInteger.divideAndRemainder
Class Overview | Class Members |
This Package |
All Packages
public BigInteger[] divideAndRemainder( BigInteger val ) throws ArithmeticException
Description
Returns an array of two BigIntegers. The first ([0]) element of
the return value is the quotient (this / val), and the second ([1])
element is the remainder (this % val). Throws an ArithmeticException
if val == 0.