Searched refs:quotient (Results 1 – 4 of 4) sorted by relevance
/libcore/luni/src/main/java/java/math/ |
D | Division.java | 49 static int divideArrayByInt(int[] quotient, int[] dividend, final int dividendLength, in divideArrayByInt() argument 87 quotient[i] = (int) (quot & 0xffffffffL); in divideArrayByInt()
|
D | BigInt.java | 298 static void division(BigInt dividend, BigInt divisor, BigInt quotient, BigInt remainder) { in division() argument 300 if (quotient != null) { in division() 301 quotient.makeValid(); in division() 302 quot = quotient.bignum; in division()
|
D | BigDecimal.java | 1087 BigInteger quotient = quotAndRem[0]; in divideBigIntegers() local 1090 return new BigDecimal(quotient, scale); in divideBigIntegers() 1099 compRem = roundingBehavior(quotient.testBit(0) ? 1 : 0, in divideBigIntegers() 1105 compRem = roundingBehavior(quotient.testBit(0) ? 1 : 0, in divideBigIntegers() 1109 if(quotient.bitLength() < 63) { in divideBigIntegers() 1110 return valueOf(quotient.longValue() + compRem,scale); in divideBigIntegers() 1112 quotient = quotient.add(BigInteger.valueOf(compRem)); in divideBigIntegers() 1113 return new BigDecimal(quotient, scale); in divideBigIntegers() 1116 return new BigDecimal(quotient, scale); in divideBigIntegers() 1120 long quotient = scaledDividend / scaledDivisor; in dividePrimitiveLongs() local [all …]
|
D | BigInteger.java | 944 BigInt quotient = new BigInt(); in divideAndRemainder() local 946 BigInt.division(getBigInt(), divisorBigInt, quotient, remainder); in divideAndRemainder() local 947 return new BigInteger[] {new BigInteger(quotient), new BigInteger(remainder) }; in divideAndRemainder() 959 BigInt quotient = new BigInt(); in divide() local 960 BigInt.division(getBigInt(), divisor.getBigInt(), quotient, null); in divide() local 961 return new BigInteger(quotient); in divide()
|