Home
last modified time | relevance | path

Searched refs:divideAndRemainder (Results 1 – 7 of 7) 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.java1076 …BigInteger[] quotAndRem = scaledDividend.divideAndRemainder(scaledDivisor); // quotient and remai… in divideBigIntegers()
1221 quotAndRem = q.divideAndRemainder(FIVE_POW[i]); in divide()
1294 quotAndRem = quotAndRem[0].divideAndRemainder( divisor.getUnscaledValue() ); in divide()
1307 quotAndRem = integerQuot.divideAndRemainder(TEN_POW[i]); in divide()
1368 quotAndRem = integralValue.divideAndRemainder(TEN_POW[i]); in divideToIntegralValue()
1444 divideAndRemainder(divisor.getUnscaledValue()); in divideToIntegralValue()
1473 quotAndRem = strippedBI.divideAndRemainder(TEN_POW[i]); in divideToIntegralValue()
1514 return divideAndRemainder(divisor)[1]; in remainder()
1540 return divideAndRemainder(divisor, mc)[1]; in remainder()
1560 public BigDecimal[] divideAndRemainder(BigDecimal divisor) { in divideAndRemainder() method in BigDecimal
[all …]
DBigInteger.java920 public BigInteger[] divideAndRemainder(BigInteger divisor) { in divideAndRemainder() method in BigInteger
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigIntegerTest.java658 largePos.divideAndRemainder(zero); in test_divideAndRemainderLjava_math_BigInteger()
664 bi1.divideAndRemainder(zero); in test_divideAndRemainderLjava_math_BigInteger()
670 bi3.negate().divideAndRemainder(zero); in test_divideAndRemainderLjava_math_BigInteger()
676 zero.divideAndRemainder(zero); in test_divideAndRemainderLjava_math_BigInteger()
905 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()