Home
last modified time | relevance | path

Searched refs:CEILING (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/main/java/java/math/
DRoundingMode.java48 CEILING(BigDecimal.ROUND_CEILING), enumConstant
103 return CEILING; in valueOf()
DBigDecimal.java2826 case CEILING: in roundingBehavior()
/libcore/luni/src/test/java/libcore/java/math/
DOldBigDecimalConstructorsTest.java38 RoundingMode rm = RoundingMode.CEILING; in testConstrBigIntegerMathContext()
64 mc = new MathContext(33, RoundingMode.CEILING); in testConstrBigIntegerMathContext()
119 RoundingMode rm = RoundingMode.CEILING; in testConstrBigIntegerScaleMathContext()
151 mc = new MathContext(33, RoundingMode.CEILING); in testConstrBigIntegerScaleMathContext()
211 mc = new MathContext(33, RoundingMode.CEILING); in testConstrBigIntegerScaleMathContext()
282 RoundingMode rm = RoundingMode.CEILING; in testConstrCharIntIntMathContext()
320 mc = new MathContext(33, RoundingMode.CEILING); in testConstrCharIntIntMathContext()
375 RoundingMode rm = RoundingMode.CEILING; in testConstrCharIntIntMathContextException1()
408 mc = new MathContext(33, RoundingMode.CEILING); in testConstrCharMathContext()
435 RoundingMode rm = RoundingMode.CEILING; in testConstrDoubleMathContext()
[all …]
DOldBigDecimalTest.java81 setScale2 = setScale1.setScale(17, RoundingMode.CEILING); in test_setScaleILjava_math_RoundingMode()
90 setScale2 = setScale1.setScale(1, RoundingMode.CEILING); in test_setScaleILjava_math_RoundingMode()
95 setScale2 = setNeg.setScale(1, RoundingMode.CEILING); in test_setScaleILjava_math_RoundingMode()
DOldBigDecimalCompareTest.java44 mc = new MathContext(34, RoundingMode.CEILING); in testAbsMathContextNeg()
DOldBigDecimalArithmeticTest.java495 mc = new MathContext(33, RoundingMode.CEILING); in testRoundNonTrivial()
573 RoundingMode rm = RoundingMode.CEILING; in test_DivideBigDecimalRoundingModeCEILING()
DBigDecimalTest.java138 checkDivide("0", 1, Long.MIN_VALUE, 0, RoundingMode.CEILING); in testDivideRounding()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigDecimalConstructorsTest.java102 RoundingMode rm = RoundingMode.CEILING; in testConstrBigIntegerMathContext()
119 RoundingMode rm = RoundingMode.CEILING; in testConstrBigIntegerScaleMathContext()
176 RoundingMode rm = RoundingMode.CEILING; in testConstrCharIntIntMathContext()
200 RoundingMode rm = RoundingMode.CEILING; in testConstrCharIntIntMathContextException1()
217 RoundingMode rm = RoundingMode.CEILING; in testConstrCharIntIntMathContextException2()
292 RoundingMode rm = RoundingMode.CEILING; in testConstrDoubleMathContext()
355 RoundingMode rm = RoundingMode.CEILING; in testConstrIntMathContext()
382 RoundingMode rm = RoundingMode.CEILING; in testConstrLongMathContext()
676 RoundingMode rm = RoundingMode.CEILING; in testConstrStringMathContext()
DRoundingModeTest.java29 …f failed for ROUND_CEILING", RoundingMode.valueOf(BigDecimal.ROUND_CEILING), RoundingMode.CEILING); in test_valueOfI()
DBigDecimalCompareTest.java404 RoundingMode rm = RoundingMode.CEILING; in testPlusMathContextNegative()
464 RoundingMode rm = RoundingMode.CEILING; in testNegateMathContextNegative()
DBigDecimalArithmeticTest.java131 MathContext mc = new MathContext(15, RoundingMode.CEILING); in testAddMathContextDiffScalePosNeg()
200 MathContext mc = new MathContext(15, RoundingMode.CEILING); in testSubtractMathContextEqualScalePosPos()
1067 RoundingMode rm = RoundingMode.CEILING; in testDivideBigDecimalScaleRoundingModeCEILING()
1199 RoundingMode rm = RoundingMode.CEILING; in testDivideBigDecimalScaleMathContextCEILING()
1301 java.math.RoundingMode.CEILING); in testDivideLargeScale()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DNumberFormatTest.java291 ((NumberFormat) choiceFormat).setRoundingMode(RoundingMode.CEILING); in test_setRoundingMode_Normal()
DDecimalFormatTest.java2223 decimalFormat.setRoundingMode(RoundingMode.CEILING); in test_format_withRoundingMode()
2335 decimalFormat.setRoundingMode(RoundingMode.CEILING); in test_format_withRoundingMode()
2429 decimalFormat.setRoundingMode(RoundingMode.CEILING); in test_format_withRoundingMode()
/libcore/ojluni/src/main/java/java/text/
DDecimalFormat.java4134 case CEILING: in convertRoundingMode()