Home
last modified time | relevance | path

Searched refs:ROUND_HALF_UP (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/java/math/
DRoundingMode.java219 HALF_UP(BigDecimal.ROUND_HALF_UP),
340 case BigDecimal.ROUND_HALF_UP: in valueOf()
DBigDecimal.java2304 public final static int ROUND_HALF_UP = 4; field in BigDecimal
4194 assert roundingMode >= ROUND_HALF_UP && in commonNeedIncrement()
4208 case ROUND_HALF_UP: in commonNeedIncrement()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DRoundingModeTest.java34 …s("valueOf failed for ROUND_HALF_UP", RoundingMode.valueOf(BigDecimal.ROUND_HALF_UP), RoundingMode… in test_valueOfI()
DBigDecimalTest.java247 BigDecimal divd3 = divd1.divide(divd2, 3, BigDecimal.ROUND_HALF_UP); in test_divideLjava_math_BigDecimalII()
687 setScale2 = setScale1.setScale(3, BigDecimal.ROUND_HALF_UP); in test_setScaleII()
693 setScale2 = setNeg.setScale(0, BigDecimal.ROUND_HALF_UP); in test_setScaleII()
DBigDecimalScaleOperationsTest.java204 BigDecimal bNumber = aNumber.setScale(newScale, BigDecimal.ROUND_HALF_UP); in testSetScaleRoundHalfUp()
DBigDecimalArithmeticTest.java745 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_HALF_UP); in testDivideRoundHalfUpPos()
762 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_HALF_UP); in testDivideRoundHalfUpNeg()
779 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_HALF_UP); in testDivideRoundHalfUpPos1()
796 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_HALF_UP); in testDivideRoundHalfUpNeg1()
813 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_HALF_UP); in testDivideRoundHalfUpNeg2()
/libcore/ojluni/src/main/java/java/text/
DDecimalFormat.java4139 return MathContext.ROUND_HALF_UP; in convertRoundingMode()
/libcore/api/
Dcurrent.txt4760 field public static final int ROUND_HALF_UP = 4; // 0x4