Searched refs:DOWN (Results 1 – 10 of 10) sorted by relevance
/libcore/luni/src/main/java/java/math/ |
D | RoundingMode.java | 39 DOWN(BigDecimal.ROUND_DOWN), enumConstant 105 return DOWN; in valueOf()
|
D | BigDecimal.java | 2771 case DOWN: in roundingBehavior()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | RoundingModeTest.java | 30 …s("valueOf failed for ROUND_DOWN", RoundingMode.valueOf(BigDecimal.ROUND_DOWN), RoundingMode.DOWN); in test_valueOfI()
|
D | BigDecimalArithmeticTest.java | 253 MathContext mc = new MathContext(17, RoundingMode.DOWN); in testSubtractMathContextDiffScalePosNeg() 1049 RoundingMode rm = RoundingMode.DOWN; in testDivideBigDecimalScaleRoundingModeDOWN() 1179 RoundingMode rm = RoundingMode.DOWN; in testDivideBigDecimalScaleMathContextDOWN() 1354 RoundingMode rm = RoundingMode.DOWN; in testDivideToIntegralValueMathContextDOWN() 1442 RoundingMode rm = RoundingMode.DOWN; in testDivideAndRemainderMathContextDOWN()
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | OldBigDecimalConstructorsTest.java | 58 mc = new MathContext(28, RoundingMode.DOWN); in testConstrBigIntegerMathContext() 145 mc = new MathContext(28, RoundingMode.DOWN); in testConstrBigIntegerScaleMathContext() 205 mc = new MathContext(28, RoundingMode.DOWN); in testConstrBigIntegerScaleMathContext() 314 mc = new MathContext(28, RoundingMode.DOWN); in testConstrCharIntIntMathContext() 402 mc = new MathContext(28, RoundingMode.DOWN); in testConstrCharMathContext() 453 mc = new MathContext(8, RoundingMode.DOWN); in testConstrDoubleMathContext() 591 mc = new MathContext(12, RoundingMode.DOWN); in testConstrLongMathContext() 682 mc = new MathContext(28, RoundingMode.DOWN); in testConstrStringMathContext()
|
D | OldBigDecimalCompareTest.java | 38 mc = new MathContext(34, RoundingMode.DOWN); in testAbsMathContextNeg()
|
D | OldBigDecimalTest.java | 102 setScale2 = setNeg.setScale(1, RoundingMode.DOWN); in test_setScaleILjava_math_RoundingMode() 108 setScale2 = setScale1.setScale(1, RoundingMode.DOWN); in test_setScaleILjava_math_RoundingMode()
|
D | OldBigDecimalArithmeticTest.java | 349 mc = new MathContext(20, RoundingMode.DOWN); in testDivideToIntegralValueMathContextNonTrivial() 447 mc = new MathContext(13, RoundingMode.DOWN); in testRemainderMathContextNonTrivial() 489 mc = new MathContext(28, RoundingMode.DOWN); in testRoundNonTrivial() 558 RoundingMode rm = RoundingMode.DOWN; in test_DivideBigDecimalRoundingModeDOWN()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DecimalFormatTest.java | 2208 decimalFormat.setRoundingMode(RoundingMode.DOWN); in test_format_withRoundingMode() 2320 decimalFormat.setRoundingMode(RoundingMode.DOWN); in test_format_withRoundingMode() 2414 decimalFormat.setRoundingMode(RoundingMode.DOWN); in test_format_withRoundingMode() 2534 decimalFormat.setRoundingMode(RoundingMode.DOWN); in test_format_withRoundingMode()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | NativeDecimalFormat.java | 564 case DOWN: nativeRoundingMode = 2; break; in setRoundingMode()
|