Searched refs:UP (Results 1 – 11 of 11) sorted by relevance
/libcore/ojluni/src/main/java/java/math/ |
D | RoundingMode.java | 118 UP(BigDecimal.ROUND_UP), enumConstant 329 return UP; in valueOf()
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | MathContextTest.java | 33 MathContext mc = new MathContext("precision=" + p + " roundingMode=" + RoundingMode.UP); in testConstructor() 35 assertEquals(RoundingMode.UP, mc.getRoundingMode()); in testConstructor()
|
D | OldBigDecimalConstructorsTest.java | 52 mc = new MathContext(31, RoundingMode.UP); in testConstrBigIntegerMathContext() 139 mc = new MathContext(31, RoundingMode.UP); in testConstrBigIntegerScaleMathContext() 199 mc = new MathContext(31, RoundingMode.UP); in testConstrBigIntegerScaleMathContext() 308 mc = new MathContext(31, RoundingMode.UP); in testConstrCharIntIntMathContext() 396 mc = new MathContext(31, RoundingMode.UP); in testConstrCharMathContext() 447 mc = new MathContext(9, RoundingMode.UP); in testConstrDoubleMathContext() 585 mc = new MathContext(15, RoundingMode.UP); in testConstrLongMathContext() 676 mc = new MathContext(31, RoundingMode.UP); in testConstrStringMathContext()
|
D | OldBigDecimalCompareTest.java | 35 MathContext mc = new MathContext(34, RoundingMode.UP); in testAbsMathContextNeg()
|
D | OldBigDecimalTest.java | 185 setScale2 = setScale1.setScale(2, RoundingMode.UP); in test_setScaleILjava_math_RoundingMode() 191 setScale2 = setNeg.setScale(2, RoundingMode.UP); in test_setScaleILjava_math_RoundingMode()
|
D | OldBigDecimalConvertTest.java | 146 MathContext mc = new MathContext(iPresition, RoundingMode.UP); in test_ByteValueExactNeg() 258 MathContext mc = new MathContext(iPresition, RoundingMode.UP); in test_ByteValueNeg()
|
D | OldBigDecimalArithmeticTest.java | 483 mc = new MathContext(31, RoundingMode.UP); in testRoundNonTrivial() 543 RoundingMode rm = RoundingMode.UP; in test_DivideBigDecimalRoundingModeUP()
|
D | BigDecimalTest.java | 136 checkDivide("-1", 1, Long.MIN_VALUE, 0, RoundingMode.UP); in testDivideRounding()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | NumberFormatTest.java | 106 nf.setRoundingMode(RoundingMode.UP); in testPercentageRounding()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DecimalFormatTest.java | 2283 decimalFormat.setRoundingMode(RoundingMode.UP); in test_format_withRoundingMode() 2392 decimalFormat.setRoundingMode(RoundingMode.UP); in test_format_withRoundingMode() 2489 decimalFormat.setRoundingMode(RoundingMode.UP); in test_format_withRoundingMode() 2545 decimalFormat.setRoundingMode(RoundingMode.UP); in test_format_withRoundingMode()
|
/libcore/ojluni/src/main/java/java/text/ |
D | DecimalFormat.java | 4130 case UP: in convertRoundingMode()
|