Searched refs:scaledDivisor (Results 1 – 1 of 1) sorted by relevance
1062 BigInteger scaledDivisor = divisor.getUnscaledValue(); // for scaling of 'u2' in divide() local1066 scaledDivisor = Multiplication.multiplyByTenPow(scaledDivisor, (int)diffScale); in divide()1071 return divideBigIntegers(scaledDividend, scaledDivisor, scale, roundingMode); in divide()1074 …private static BigDecimal divideBigIntegers(BigInteger scaledDividend, BigInteger scaledDivisor, i… in divideBigIntegers() argument1076 …BigInteger[] quotAndRem = scaledDividend.divideAndRemainder(scaledDivisor); // quotient and remai… in divideBigIntegers()1083 int sign = scaledDividend.signum() * scaledDivisor.signum(); in divideBigIntegers()1085 if(scaledDivisor.bitLength() < 63) { // 63 in order to avoid out of long after *2 in divideBigIntegers()1087 long divisor = scaledDivisor.longValue(); in divideBigIntegers()1095 compRem = remainder.abs().shiftLeftOneBit().compareTo(scaledDivisor.abs()); in divideBigIntegers()1110 …private static BigDecimal dividePrimitiveLongs(long scaledDividend, long scaledDivisor, int scale,… in dividePrimitiveLongs() argument[all …]