Searched refs:ROUND_DOWN (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/java/math/ |
D | RoundingMode.java | 142 DOWN(BigDecimal.ROUND_DOWN), 331 case BigDecimal.ROUND_DOWN: in valueOf()
|
D | BigDecimal.java | 2276 public final static int ROUND_DOWN = 1; field in BigDecimal 3028 return this.setScale(0, ROUND_DOWN).inflated(); 4138 if (roundingMode == ROUND_DOWN && scale == preferredScale) in divideAndRound() 4160 if (roundingMode == ROUND_DOWN) in divideAndRound() 4184 case ROUND_DOWN: // Towards zero in commonNeedIncrement() 4894 if (roundingMode == ROUND_DOWN && scale == preferredScale) { 4916 if (roundingMode == ROUND_DOWN && scale == preferredScale)
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | RoundingModeTest.java | 30 …assertEquals("valueOf failed for ROUND_DOWN", RoundingMode.valueOf(BigDecimal.ROUND_DOWN), Roundin… in test_valueOfI()
|
D | BigDecimalTest.java | 228 divd3 = divd1.divide(divd2, BigDecimal.ROUND_DOWN); in test_divideLjava_math_BigDecimalI() 235 divd1.divide(divd2, BigDecimal.ROUND_DOWN); in test_divideLjava_math_BigDecimalI() 252 divd3 = divd1.divide(divd2, 0, BigDecimal.ROUND_DOWN); in test_divideLjava_math_BigDecimalII() 259 divd1.divide(divd2, 4, BigDecimal.ROUND_DOWN); in test_divideLjava_math_BigDecimalII() 624 setScale2 = setNeg.setScale(1, BigDecimal.ROUND_DOWN); in test_setScaleII() 630 setScale2 = setScale1.setScale(1, BigDecimal.ROUND_DOWN); in test_setScaleII()
|
D | BigDecimalScaleOperationsTest.java | 162 BigDecimal bNumber = aNumber.setScale(newScale, BigDecimal.ROUND_DOWN); in testSetScaleRoundDown()
|
D | BigDecimalArithmeticTest.java | 643 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_DOWN); in testDivideRoundDownNeg() 660 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_DOWN); in testDivideRoundDownPos()
|
/libcore/ojluni/src/main/java/java/text/ |
D | DecimalFormat.java | 4133 return MathContext.ROUND_DOWN; in convertRoundingMode()
|
/libcore/api/ |
D | current.txt | 4756 field public static final int ROUND_DOWN = 1; // 0x1
|