Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/math/
DRoundingMode.java118 UP(BigDecimal.ROUND_UP), enumConstant
329 return UP; in valueOf()
/libcore/luni/src/test/java/libcore/java/math/
DMathContextTest.java33 MathContext mc = new MathContext("precision=" + p + " roundingMode=" + RoundingMode.UP); in testConstructor()
35 assertEquals(RoundingMode.UP, mc.getRoundingMode()); in testConstructor()
DOldBigDecimalConstructorsTest.java52 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()
DOldBigDecimalCompareTest.java35 MathContext mc = new MathContext(34, RoundingMode.UP); in testAbsMathContextNeg()
DOldBigDecimalTest.java185 setScale2 = setScale1.setScale(2, RoundingMode.UP); in test_setScaleILjava_math_RoundingMode()
191 setScale2 = setNeg.setScale(2, RoundingMode.UP); in test_setScaleILjava_math_RoundingMode()
DOldBigDecimalConvertTest.java146 MathContext mc = new MathContext(iPresition, RoundingMode.UP); in test_ByteValueExactNeg()
258 MathContext mc = new MathContext(iPresition, RoundingMode.UP); in test_ByteValueNeg()
DOldBigDecimalArithmeticTest.java483 mc = new MathContext(31, RoundingMode.UP); in testRoundNonTrivial()
543 RoundingMode rm = RoundingMode.UP; in test_DivideBigDecimalRoundingModeUP()
DBigDecimalTest.java136 checkDivide("-1", 1, Long.MIN_VALUE, 0, RoundingMode.UP); in testDivideRounding()
/libcore/luni/src/test/java/libcore/java/text/
DNumberFormatTest.java106 nf.setRoundingMode(RoundingMode.UP); in testPercentageRounding()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatTest.java2283 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/
DDecimalFormat.java4130 case UP: in convertRoundingMode()