Searched refs:FLOOR (Results 1 – 10 of 10) sorted by relevance
/libcore/luni/src/test/java/libcore/java/math/ |
D | OldBigDecimalArithmeticTest.java | 32 mc = new MathContext(17, RoundingMode.FLOOR); in testAddMathContextNonTrivial() 57 mc = new MathContext(17, RoundingMode.FLOOR); in testSubtractMathContextNonTrivial() 80 mc = new MathContext(17, RoundingMode.FLOOR); in testMultiplyMathContextNonTrivial() 128 mc = new MathContext(7, RoundingMode.FLOOR); in testPowMathContextNonTrivial() 135 mc = new MathContext(4, RoundingMode.FLOOR); in testPowMathContextNonTrivial() 158 mc = new MathContext(0, RoundingMode.FLOOR); in testPowMathContextNonTrivial() 167 mc = new MathContext(0, RoundingMode.FLOOR); in testPowMathContextNonTrivial() 193 mc = new MathContext(17, RoundingMode.FLOOR); in testDivideINonTrivial() 220 mc = new MathContext(17, RoundingMode.FLOOR); in testDivideIINonTrivial() 248 mc = new MathContext(17, RoundingMode.FLOOR); in testDivideScaleRoundingModeNonTrivial() [all …]
|
D | OldBigDecimalCompareTest.java | 41 mc = new MathContext(34, RoundingMode.FLOOR); in testAbsMathContextNeg() 57 MathContext mc = new MathContext(37, RoundingMode.FLOOR); in testNegateMathContextPositive()
|
D | OldBigDecimalConstructorsTest.java | 70 mc = new MathContext(34, RoundingMode.FLOOR); in testConstrBigIntegerMathContext() 157 mc = new MathContext(34, RoundingMode.FLOOR); in testConstrBigIntegerScaleMathContext() 217 mc = new MathContext(34, RoundingMode.FLOOR); in testConstrBigIntegerScaleMathContext() 257 mc = new MathContext(28, RoundingMode.FLOOR); in testConstrBigIntegerScaleMathContext() 268 mc = new MathContext(17, RoundingMode.FLOOR); in testConstrBigIntegerScaleMathContext_AndroidFailure() 326 mc = new MathContext(34, RoundingMode.FLOOR); in testConstrCharIntIntMathContext() 465 mc = new MathContext(8, RoundingMode.FLOOR); in testConstrDoubleMathContext() 603 mc = new MathContext(12, RoundingMode.FLOOR); in testConstrLongMathContext() 708 mc = new MathContext(7, RoundingMode.FLOOR); in testConstrStringMathContext()
|
D | OldBigDecimalTest.java | 114 setScale2 = setScale1.setScale(1, RoundingMode.FLOOR); in test_setScaleILjava_math_RoundingMode() 118 setScale2 = setNeg.setScale(1, RoundingMode.FLOOR); in test_setScaleILjava_math_RoundingMode()
|
D | BigDecimalTest.java | 69 BigDecimal rounded = bigDecimal.round(new MathContext(2, RoundingMode.FLOOR)); in testRound() 137 checkDivide("-1", 1, Long.MIN_VALUE, 0, RoundingMode.FLOOR); in testDivideRounding()
|
/libcore/ojluni/src/main/java/java/math/ |
D | RoundingMode.java | 192 FLOOR(BigDecimal.ROUND_FLOOR), enumConstant 338 return FLOOR; in valueOf()
|
/libcore/ojluni/src/test/java/lang/Math/ |
D | DivModTests.java | 228 BigDecimal resultD = xD.divide(yD, RoundingMode.FLOOR); in testLongFloorMod() 333 BigDecimal resultD = xD.divide(yD, RoundingMode.FLOOR); in testLongIntFloorMod()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigDecimalCompareTest.java | 374 RoundingMode rm = RoundingMode.FLOOR; in testPlusMathContextPositive() 434 RoundingMode rm = RoundingMode.FLOOR; in testNegateMathContextPositive()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DecimalFormatTest.java | 2244 decimalFormat.setRoundingMode(RoundingMode.FLOOR); in test_format_withRoundingMode() 2356 decimalFormat.setRoundingMode(RoundingMode.FLOOR); in test_format_withRoundingMode() 2450 decimalFormat.setRoundingMode(RoundingMode.FLOOR); in test_format_withRoundingMode()
|
/libcore/ojluni/src/main/java/java/text/ |
D | DecimalFormat.java | 4136 case FLOOR: in convertRoundingMode()
|