Searched refs:UP (Results 1 – 14 of 14) sorted by relevance
/libcore/luni/src/main/java/java/math/ |
D | RoundingMode.java | 32 UP(BigDecimal.ROUND_UP), enumConstant 117 return UP; in valueOf()
|
D | BigDecimal.java | 2823 case UP: in roundingBehavior()
|
/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/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | RoundingModeTest.java | 36 …tEquals("valueOf failed for ROUND_UP", RoundingMode.valueOf(BigDecimal.ROUND_UP), RoundingMode.UP); in test_valueOfI()
|
D | BigDecimalArithmeticTest.java | 61 MathContext mc = new MathContext(5, RoundingMode.UP); in testAddMathContextEqualScalePosPos() 1031 RoundingMode rm = RoundingMode.UP; in testDivideBigDecimalScaleRoundingModeUP() 1159 RoundingMode rm = RoundingMode.UP; in testDivideBigDecimalScaleMathContextUP() 1334 RoundingMode rm = RoundingMode.UP; in testDivideToIntegralValueMathContextUP() 1418 RoundingMode rm = RoundingMode.UP; in testDivideAndRemainderMathContextUP()
|
/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 | 2259 decimalFormat.setRoundingMode(RoundingMode.UP); in test_format_withRoundingMode() 2368 decimalFormat.setRoundingMode(RoundingMode.UP); in test_format_withRoundingMode() 2465 decimalFormat.setRoundingMode(RoundingMode.UP); in test_format_withRoundingMode() 2521 decimalFormat.setRoundingMode(RoundingMode.UP); in test_format_withRoundingMode()
|
/libcore/ojluni/src/main/java/java/text/ |
D | DecimalFormat.java | 1425 case UP: in convertRoundingMode()
|