Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/math/
DRoundingMode.java75 HALF_EVEN(BigDecimal.ROUND_HALF_EVEN),
110 case BigDecimal.ROUND_HALF_EVEN: in valueOf()
DBigDecimal.java92 public static final int ROUND_HALF_EVEN = 6; field in BigDecimal
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DRoundingModeTest.java33 …valueOf failed for ROUND_HALF_EVEN", RoundingMode.valueOf(BigDecimal.ROUND_HALF_EVEN), RoundingMod… in test_valueOfI()
DBigDecimalTest.java665 setScale2 = setScale1.setScale(4, BigDecimal.ROUND_HALF_EVEN); in test_setScaleII()
670 setScale2 = setNeg.setScale(2, BigDecimal.ROUND_HALF_EVEN); in test_setScaleII()
675 BigDecimal.ROUND_HALF_EVEN); in test_setScaleII()
680 BigDecimal.ROUND_HALF_EVEN); in test_setScaleII()
DBigDecimalScaleOperationsTest.java232 BigDecimal bNumber = aNumber.setScale(newScale, BigDecimal.ROUND_HALF_EVEN); in testSetScaleRoundHalfEven()
DBigDecimalArithmeticTest.java915 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_HALF_EVEN); in testDivideRoundHalfEvenPos()
932 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_HALF_EVEN); in testDivideRoundHalfEvenNeg()
949 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_HALF_EVEN); in testDivideRoundHalfEvenPos1()
966 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_HALF_EVEN); in testDivideRoundHalfEvenNeg1()
983 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_HALF_EVEN); in testDivideRoundHalfEvenNeg2()
/libcore/ojluni/src/main/java/java/text/
DDecimalFormat.java1438 return MathContext.ROUND_HALF_EVEN; in convertRoundingMode()