Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/math/
DBigDecimal.java1780 if (this.compareMagnitude(divisor) < 0) { in divideToIntegralValue()
1832 (this.compareMagnitude(divisor) < 0)) // zero result in divideToIntegralValue()
1856 if (this.subtract(product).compareMagnitude(divisor) >= 0) { in divideToIntegralValue()
2640 int cmp = compareMagnitude(val); in compareTo()
2647 private int compareMagnitude(BigDecimal val) { in compareMagnitude() method in BigDecimal
2673 return rb.compareMagnitude(val.intVal); in compareMagnitude()
2682 return this.intVal.compareMagnitude(rb); in compareMagnitude()
2691 return this.intVal.compareMagnitude(val.intVal); in compareMagnitude()
3851 return b.compareMagnitude(bigTenToThe(r)) < 0? r : r+1; in bigDigitLength()
4400 while (intVal.compareMagnitude(BigInteger.TEN) >= 0 in createAndStripZerosToMatchScale()
[all …]
DBigInteger.java1244 int cmp = compareMagnitude(val);
1265 int cmp = compareMagnitude(val);
1446 int cmp = compareMagnitude(val); in subtract()
3260 if (signum < 0 || (this.compareMagnitude(m) >= 0))
3738 return compareMagnitude(val);
3740 return val.compareMagnitude(this);
3756 final int compareMagnitude(@NonNull BigInteger val) {
3778 final int compareMagnitude(long val) {