Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/math/
DBigDecimal.java1071 BigInteger scaledDivisor = divisor.getUnscaledValue(); // for scaling of 'u2' in divide() local
1075 scaledDivisor = Multiplication.multiplyByTenPow(scaledDivisor, (int)diffScale); in divide()
1080 return divideBigIntegers(scaledDividend, scaledDivisor, scale, roundingMode); in divide()
1083 …private static BigDecimal divideBigIntegers(BigInteger scaledDividend, BigInteger scaledDivisor, i… in divideBigIntegers() argument
1085 …BigInteger[] quotAndRem = scaledDividend.divideAndRemainder(scaledDivisor); // quotient and remai… in divideBigIntegers()
1092 int sign = scaledDividend.signum() * scaledDivisor.signum(); in divideBigIntegers()
1094 if(scaledDivisor.bitLength() < 63) { // 63 in order to avoid out of long after *2 in divideBigIntegers()
1096 long divisor = scaledDivisor.longValue(); in divideBigIntegers()
1104 compRem = remainder.abs().shiftLeftOneBit().compareTo(scaledDivisor.abs()); in divideBigIntegers()
1119 …private static BigDecimal dividePrimitiveLongs(long scaledDividend, long scaledDivisor, int scale,… in dividePrimitiveLongs() argument
[all …]