Home
last modified time | relevance | path

Searched refs:divideAndRemainder (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/java/math/
DOldBigIntegerDivideTest.java40 aNumber.divideAndRemainder(bNumber); in testCase21byZero()
DOldBigDecimalArithmeticTest.java387 BigDecimal result[] = aNumber.divideAndRemainder(bNumber); in testDivideAndRemainderByZero()
402 a.round(mc).divideAndRemainder(b.round(mc))[1].toString()); in testDivideAndRemainderMathContextNonTrivial()
403 res = a.divideAndRemainder(b, mc); in testDivideAndRemainderMathContextNonTrivial()
409 res = a.divideAndRemainder(b, mc); in testDivideAndRemainderMathContextNonTrivial()
416 res = a.divideAndRemainder(b, mc); in testDivideAndRemainderMathContextNonTrivial()
451 a.round(mc).divideAndRemainder(b.round(mc))[1].toString()); in testRemainderMathContextNonTrivial()
/libcore/luni/src/main/java/java/math/
DBigDecimal.java1085 …BigInteger[] quotAndRem = scaledDividend.divideAndRemainder(scaledDivisor); // quotient and remai… in divideBigIntegers()
1229 quotAndRem = q.divideAndRemainder(FIVE_POW[i]); in divide()
1302 quotAndRem = quotAndRem[0].divideAndRemainder( divisor.getUnscaledValue() ); in divide()
1315 quotAndRem = integerQuot.divideAndRemainder(TEN_POW[i]); in divide()
1376 BigInteger[] quotAndRem = integralValue.divideAndRemainder(TEN_POW[i]); in divideToIntegralValue()
1452 divideAndRemainder(divisor.getUnscaledValue()); in divideToIntegralValue()
1481 quotAndRem = strippedBI.divideAndRemainder(TEN_POW[i]); in divideToIntegralValue()
1522 return divideAndRemainder(divisor)[1]; in remainder()
1548 return divideAndRemainder(divisor, mc)[1]; in remainder()
1568 public BigDecimal[] divideAndRemainder(BigDecimal divisor) { in divideAndRemainder() method in BigDecimal
[all …]
DBigInteger.java942 public @NonNull BigInteger @NonNull [] divideAndRemainder(@NonNull BigInteger divisor) { in divideAndRemainder() method in BigInteger
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigIntegerTest.java659 largePos.divideAndRemainder(zero); in test_divideAndRemainderLjava_math_BigInteger()
665 bi1.divideAndRemainder(zero); in test_divideAndRemainderLjava_math_BigInteger()
671 bi3.negate().divideAndRemainder(zero); in test_divideAndRemainderLjava_math_BigInteger()
677 zero.divideAndRemainder(zero); in test_divideAndRemainderLjava_math_BigInteger()
906 BigInteger[] temp = i1.divideAndRemainder(i2); in testDiv()
DBigDecimalArithmeticTest.java1379 BigDecimal result[] = aNumber.divideAndRemainder(bNumber); in testDivideAndRemainder1()
1402 BigDecimal result[] = aNumber.divideAndRemainder(bNumber); in testDivideAndRemainder2()
1426 BigDecimal result[] = aNumber.divideAndRemainder(bNumber, mc); in testDivideAndRemainderMathContextUP()
1450 BigDecimal result[] = aNumber.divideAndRemainder(bNumber, mc); in testDivideAndRemainderMathContextDOWN()
DBigIntegerDivideTest.java592 BigInteger result[] = aNumber.divideAndRemainder(bNumber); in testCase21()
/libcore/ojluni/src/main/java/java/time/
DDuration.java998 BigInteger[] divRem = nanos.divideAndRemainder(BI_NANOS_PER_SECOND); in create()