Searched refs:HALF_DOWN (Results 1 – 11 of 11) sorted by relevance
/libcore/ojluni/src/main/java/java/math/ |
D | RoundingMode.java | 245 HALF_DOWN(BigDecimal.ROUND_HALF_DOWN), enumConstant 344 return HALF_DOWN; in valueOf()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | MathContextTest.java | 32 MathContext mcIntRm6hd = new MathContext(6, RoundingMode.HALF_DOWN); in test_MathContextConstruction() 48 RoundingMode.HALF_DOWN, mcIntRm6hd.getRoundingMode() ); in test_MathContextConstruction()
|
D | BigDecimalCompareTest.java | 63 RoundingMode rm = RoundingMode.HALF_DOWN; in testAbsMathContextNeg()
|
D | BigDecimalTest.java | 924 RoundingMode rm = RoundingMode.HALF_DOWN; in testMathContextConstruction()
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | OldBigDecimalTest.java | 125 setScale2 = setScale1.setScale(3, RoundingMode.HALF_DOWN); in test_setScaleILjava_math_RoundingMode() 131 setScale2 = setScale1.setScale(1, RoundingMode.HALF_DOWN); in test_setScaleILjava_math_RoundingMode() 136 RoundingMode.HALF_DOWN); in test_setScaleILjava_math_RoundingMode()
|
D | OldBigDecimalConstructorsTest.java | 90 mc = new MathContext(34, RoundingMode.HALF_DOWN); in testConstrBigIntegerMathContext() 177 mc = new MathContext(34, RoundingMode.HALF_DOWN); in testConstrBigIntegerScaleMathContext() 237 mc = new MathContext(34, RoundingMode.HALF_DOWN); in testConstrBigIntegerScaleMathContext() 346 mc = new MathContext(34, RoundingMode.HALF_DOWN); in testConstrCharIntIntMathContext() 497 mc = new MathContext(11, RoundingMode.HALF_DOWN); in testConstrDoubleMathContext() 551 mc = new MathContext(11, RoundingMode.HALF_DOWN); in testConstrDoubleMathContext_AndroidFailure() 623 mc = new MathContext(16, RoundingMode.HALF_DOWN); in testConstrLongMathContext()
|
D | BigDecimalTest.java | 141 checkDivide("0", 1, Long.MIN_VALUE, 0, RoundingMode.HALF_DOWN); in testDivideRounding() 151 checkDivide("0", Long.MIN_VALUE / 2, Long.MIN_VALUE, 0, RoundingMode.HALF_DOWN); in testDivideRounding() 153 checkDivide("1", Long.MIN_VALUE / 2 - 1, Long.MIN_VALUE, 0, RoundingMode.HALF_DOWN); in testDivideRounding()
|
D | OldBigDecimalConvertTest.java | 158 MathContext mc = new MathContext(iPresition, RoundingMode.HALF_DOWN); in test_ByteValueExactCharZero()
|
D | OldBigDecimalArithmeticTest.java | 621 RoundingMode rm = RoundingMode.HALF_DOWN; in test_DivideBigDecimalRoundingModeHALF_DOWN()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DecimalFormatTest.java | 2187 decimalFormat.setRoundingMode(RoundingMode.HALF_DOWN); in test_getRoundingMode() 2189 decimalFormat.getRoundingMode(), RoundingMode.HALF_DOWN); in test_getRoundingMode() 2211 decimalFormat.setRoundingMode(RoundingMode.HALF_DOWN); in test_format_withRoundingMode() 2323 decimalFormat.setRoundingMode(RoundingMode.HALF_DOWN); in test_format_withRoundingMode() 2417 decimalFormat.setRoundingMode(RoundingMode.HALF_DOWN); in test_format_withRoundingMode() 2532 decimalFormat.setRoundingMode(RoundingMode.HALF_DOWN); in test_format_withRoundingMode()
|
/libcore/ojluni/src/main/java/java/text/ |
D | DecimalFormat.java | 4140 case HALF_DOWN: in convertRoundingMode()
|