Ruby runtime = getRuntime();
try {
BigInteger[] result = value.divideAndRemainder(getBigInteger(other));
return runtime.newArray(newBN(runtime, result[0]), newBN(runtime, result[1]));
} catch (ArithmeticException e) {
throw runtime.newZeroDivisionError();
}
}
@JRubyMethod(name="&")
public IRubyObject bn_and(IRubyObject other) {