Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/math/
DMutableBigInteger.java1085 int divideOneWord(int divisor, MutableBigInteger quotient) { in divideOneWord() argument
1093 quotient.value[0] = q; in divideOneWord()
1094 quotient.intLen = (q == 0) ? 0 : 1; in divideOneWord()
1095 quotient.offset = 0; in divideOneWord()
1099 if (quotient.value.length < intLen) in divideOneWord()
1100 quotient.value = new int[intLen]; in divideOneWord()
1101 quotient.offset = 0; in divideOneWord()
1102 quotient.intLen = intLen; in divideOneWord()
1110 quotient.value[0] = 0; in divideOneWord()
1112 quotient.value[0] = (int)(remLong / divisorLong); in divideOneWord()
[all …]
DBigDecimal.java1689 BigDecimal quotient; in divide() local
1691 quotient = this.divide(divisor, mc); in divide()
1697 int quotientScale = quotient.scale(); in divide()
1704 return quotient.setScale(preferredScale, ROUND_UNNECESSARY); in divide()
1706 return quotient; in divide()
1795 BigDecimal quotient = this.divide(divisor, new MathContext(maxDigits, in divideToIntegralValue() local
1797 if (quotient.scale > 0) { in divideToIntegralValue()
1798 quotient = quotient.setScale(0, RoundingMode.DOWN); in divideToIntegralValue()
1799quotient = stripZerosToMatchScale(quotient.intVal, quotient.intCompact, quotient.scale, preferredS… in divideToIntegralValue()
1802 if (quotient.scale < preferredScale) { in divideToIntegralValue()
[all …]
DBigInteger.java2272 BigInteger quotient = new BigInteger(quotSign, bn2BigEndInts(quotBN)); in divideAndRemainder() local
2275 BigInteger[] result = {quotient, remainder}; in divideAndRemainder()