Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/math/
DRoundingMode.java245 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/
DMathContextTest.java32 MathContext mcIntRm6hd = new MathContext(6, RoundingMode.HALF_DOWN); in test_MathContextConstruction()
48 RoundingMode.HALF_DOWN, mcIntRm6hd.getRoundingMode() ); in test_MathContextConstruction()
DBigDecimalCompareTest.java63 RoundingMode rm = RoundingMode.HALF_DOWN; in testAbsMathContextNeg()
DBigDecimalTest.java924 RoundingMode rm = RoundingMode.HALF_DOWN; in testMathContextConstruction()
/libcore/luni/src/test/java/libcore/java/math/
DOldBigDecimalTest.java125 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()
DOldBigDecimalConstructorsTest.java90 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()
DBigDecimalTest.java141 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()
DOldBigDecimalConvertTest.java158 MathContext mc = new MathContext(iPresition, RoundingMode.HALF_DOWN); in test_ByteValueExactCharZero()
DOldBigDecimalArithmeticTest.java621 RoundingMode rm = RoundingMode.HALF_DOWN; in test_DivideBigDecimalRoundingModeHALF_DOWN()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatTest.java2187 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/
DDecimalFormat.java4140 case HALF_DOWN: in convertRoundingMode()