Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/math/
DBigDecimal.java2674 BigInteger sizeOfFraction = Multiplication.powerOf10(discardedPrecision); in inplaceRound() local
2675 BigInteger[] integerAndFraction = getUnscaledValue().divideAndRemainder(sizeOfFraction); in inplaceRound()
2682 compRem = (integerAndFraction[1].abs().shiftLeftOneBit().compareTo(sizeOfFraction)); in inplaceRound()
2717 long sizeOfFraction = MathUtils.LONG_POWERS_OF_TEN[discardedPrecision]; in smallRound() local
2721 long integer = unscaledVal / sizeOfFraction; in smallRound()
2722 long fraction = unscaledVal % sizeOfFraction; in smallRound()
2727 compRem = longCompareTo(Math.abs(fraction) * 2, sizeOfFraction); in smallRound()