Searched refs:FLOOR (Results 1 - 13 of 13) sorted by relevance
/libcore/luni/src/main/java/java/math/ |
H A D | RoundingMode.java | 57 FLOOR(BigDecimal.ROUND_FLOOR), enum constant in enum:RoundingMode 107 return FLOOR;
|
H A D | BigDecimal.java | 66 * @see RoundingMode#FLOOR 2776 case FLOOR:
|
/libcore/luni/src/test/java/libcore/java/math/ |
H A D | OldBigDecimalCompareTest.java | 41 mc = new MathContext(34, RoundingMode.FLOOR); 57 MathContext mc = new MathContext(37, RoundingMode.FLOOR);
|
H A D | OldBigDecimalArithmeticTest.java | 32 mc = new MathContext(17, RoundingMode.FLOOR); 57 mc = new MathContext(17, RoundingMode.FLOOR); 80 mc = new MathContext(17, RoundingMode.FLOOR); 128 mc = new MathContext(7, RoundingMode.FLOOR); 135 mc = new MathContext(4, RoundingMode.FLOOR); 158 mc = new MathContext(0, RoundingMode.FLOOR); 167 mc = new MathContext(0, RoundingMode.FLOOR); 180 // mc = new MathContext(3, RoundingMode.FLOOR); 193 mc = new MathContext(17, RoundingMode.FLOOR); 220 mc = new MathContext(17, RoundingMode.FLOOR); [all...] |
H A D | BigDecimalTest.java | 64 BigDecimal rounded = bigDecimal.round(new MathContext(2, RoundingMode.FLOOR));
|
H A D | OldBigDecimalConstructorsTest.java | 70 mc = new MathContext(34, RoundingMode.FLOOR); 157 mc = new MathContext(34, RoundingMode.FLOOR); 217 mc = new MathContext(34, RoundingMode.FLOOR); 257 mc = new MathContext(28, RoundingMode.FLOOR); 268 mc = new MathContext(17, RoundingMode.FLOOR); 326 mc = new MathContext(34, RoundingMode.FLOOR); 465 mc = new MathContext(8, RoundingMode.FLOOR); 603 mc = new MathContext(12, RoundingMode.FLOOR); 708 mc = new MathContext(7, RoundingMode.FLOOR);
|
H A D | OldBigDecimalTest.java | 113 // testing rounding Mode RoundingMode.FLOOR 114 setScale2 = setScale1.setScale(1, RoundingMode.FLOOR); 116 "the number 1234.5908 after setting scale to 1/RoundingMode.FLOOR is wrong", 118 setScale2 = setNeg.setScale(1, RoundingMode.FLOOR); 120 "the number -1234.5908 after setting scale to 1/RoundingMode.FLOOR is wrong",
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
H A D | RoundingModeTest.java | 31 assertEquals("valueOf failed for ROUND_FLOOR", RoundingMode.valueOf(BigDecimal.ROUND_FLOOR), RoundingMode.FLOOR);
|
H A D | BigDecimalCompareTest.java | 374 RoundingMode rm = RoundingMode.FLOOR; 434 RoundingMode rm = RoundingMode.FLOOR;
|
H A D | BigDecimalArithmeticTest.java | 96 MathContext mc = new MathContext(5, RoundingMode.FLOOR); 1085 RoundingMode rm = RoundingMode.FLOOR; 1219 RoundingMode rm = RoundingMode.FLOOR;
|
/libcore/ojluni/src/main/java/java/text/ |
H A D | DigitList.java | 445 case FLOOR:
|
H A D | DecimalFormat.java | 1368 case FLOOR:
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
H A D | DecimalFormatTest.java | 2218 // set RoundingMode.FLOOR of this DecimalFormat and test its 2220 decimalFormat.setRoundingMode(RoundingMode.FLOOR); 2222 assertEquals("Incorrect RoundingMode behavior: RoundingMode.FLOOR", "11", result); 2225 assertEquals("Incorrect RoundingMode behavior: RoundingMode.FLOOR", "-12", result); 2228 assertEquals("Incorrect RoundingMode behavior: RoundingMode.FLOOR", "0", result); 2330 // set RoundingMode.FLOOR of this DecimalFormat and test its 2332 decimalFormat.setRoundingMode(RoundingMode.FLOOR); 2334 assertEquals("Incorrect RoundingMode behavior: RoundingMode.FLOOR", "11.565", result); 2337 assertEquals("Incorrect RoundingMode behavior: RoundingMode.FLOOR", "-11.566", result); 2340 assertEquals("Incorrect RoundingMode behavior: RoundingMode.FLOOR", " [all...] |
Completed in 228 milliseconds