Searched refs:ROUND_HALF_EVEN (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/main/java/java/math/ |
D | RoundingMode.java | 75 HALF_EVEN(BigDecimal.ROUND_HALF_EVEN), 110 case BigDecimal.ROUND_HALF_EVEN: in valueOf()
|
D | BigDecimal.java | 92 public static final int ROUND_HALF_EVEN = 6; field in BigDecimal
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | RoundingModeTest.java | 33 …valueOf failed for ROUND_HALF_EVEN", RoundingMode.valueOf(BigDecimal.ROUND_HALF_EVEN), RoundingMod… in test_valueOfI()
|
D | BigDecimalTest.java | 665 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()
|
D | BigDecimalScaleOperationsTest.java | 232 BigDecimal bNumber = aNumber.setScale(newScale, BigDecimal.ROUND_HALF_EVEN); in testSetScaleRoundHalfEven()
|
D | BigDecimalArithmeticTest.java | 915 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/ |
D | DecimalFormat.java | 1438 return MathContext.ROUND_HALF_EVEN; in convertRoundingMode()
|