Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/math/
DRoundingMode.java134 UP(BigDecimal.ROUND_UP), enumConstant
381 case BigDecimal.ROUND_UP -> UP; in valueOf()
DBigDecimal.java2311 case UP: in sqrt()
2418 case UP:
/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()
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()
DOldBigDecimalCompareTest.java35 MathContext mc = new MathContext(34, RoundingMode.UP); in testAbsMathContextNeg()
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/ojluni/src/test/java/math/BigDecimal/
DSquareRootTests.java94 List.of(RoundingMode.UP, RoundingMode.DOWN, in oneDigitTests()
123 List.of(RoundingMode.UP, RoundingMode.DOWN, in twoDigitTests()
189 RoundingMode.UP, RoundingMode.DOWN, in squareRootTwoTests()
333 RoundingMode.UP,
649 case UP:
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DRoundingModeTest.java36 …tEquals("valueOf failed for ROUND_UP", RoundingMode.valueOf(BigDecimal.ROUND_UP), RoundingMode.UP); in test_valueOfI()
DBigDecimalArithmeticTest.java61 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/
DNumberFormatTest.java106 nf.setRoundingMode(RoundingMode.UP); in testPercentageRounding()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatTest.java2299 decimalFormat.setRoundingMode(RoundingMode.UP); in test_format_withRoundingMode()
2408 decimalFormat.setRoundingMode(RoundingMode.UP); in test_format_withRoundingMode()
2505 decimalFormat.setRoundingMode(RoundingMode.UP); in test_format_withRoundingMode()
2561 decimalFormat.setRoundingMode(RoundingMode.UP); in test_format_withRoundingMode()
/libcore/ojluni/src/main/java/java/text/
DDecimalFormat.java4315 case UP: in convertRoundingMode()
/libcore/api/
Dcurrent.txt5408 enum_constant public static final java.math.RoundingMode UP;