Home
last modified time | relevance | path

Searched refs:UNNECESSARY (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/main/java/java/math/
DRoundingMode.java82 UNNECESSARY(BigDecimal.ROUND_UNNECESSARY); enumConstant
115 return UNNECESSARY; in valueOf()
DBigDecimal.java1937 return setScale(newScale, RoundingMode.UNNECESSARY); in setScale()
2763 case UNNECESSARY: in roundingBehavior()
/libcore/luni/src/test/java/libcore/java/math/
DOldBigDecimalArithmeticTest.java44 mc = new MathContext(33, RoundingMode.UNNECESSARY); in testAddMathContextNonTrivial()
67 mc = new MathContext(33, RoundingMode.UNNECESSARY); in testSubtractMathContextNonTrivial()
142 mc = new MathContext(2, RoundingMode.UNNECESSARY); in testPowMathContextNonTrivial()
152 mc = new MathContext(4, RoundingMode.UNNECESSARY); in testPowMathContextNonTrivial()
175 mc = new MathContext(4, RoundingMode.UNNECESSARY); in testPowMathContextNonTrivial()
256 mc = new MathContext(13, RoundingMode.UNNECESSARY); in testDivideScaleRoundingModeNonTrivial()
262 mc = new MathContext(33, RoundingMode.UNNECESSARY); in testDivideScaleRoundingModeNonTrivial()
304 mc = new MathContext(13, RoundingMode.UNNECESSARY); in testDivideMathContextNonTrivial()
310 mc = new MathContext(33, RoundingMode.UNNECESSARY); in testDivideMathContextNonTrivial()
406 mc = new MathContext(1, RoundingMode.UNNECESSARY); in testDivideAndRemainderMathContextNonTrivial()
[all …]
DOldBigDecimalConstructorsTest.java96 mc = new MathContext(34, RoundingMode.UNNECESSARY); in testConstrBigIntegerMathContext()
183 mc = new MathContext(34, RoundingMode.UNNECESSARY); in testConstrBigIntegerScaleMathContext()
243 mc = new MathContext(34, RoundingMode.UNNECESSARY); in testConstrBigIntegerScaleMathContext()
352 mc = new MathContext(34, RoundingMode.UNNECESSARY); in testConstrCharIntIntMathContext()
414 mc = new MathContext(34, RoundingMode.UNNECESSARY); in testConstrCharMathContext()
512 mc = new MathContext(8, RoundingMode.UNNECESSARY); in testConstrDoubleMathContext()
629 mc = new MathContext(8, RoundingMode.UNNECESSARY); in testConstrLongMathContext()
694 mc = new MathContext(34, RoundingMode.UNNECESSARY); in testConstrStringMathContext()
DOldBigDecimalCompareTest.java47 mc = new MathContext(34, RoundingMode.UNNECESSARY); in testAbsMathContextNeg()
DOldBigDecimalTest.java178 setScale1.setScale(3, RoundingMode.UNNECESSARY); in test_setScaleILjava_math_RoundingMode()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DRoundingModeTest.java35 … ROUND_UNNECESSARY", RoundingMode.valueOf(BigDecimal.ROUND_UNNECESSARY), RoundingMode.UNNECESSARY); in test_valueOfI()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatTest.java2112 decimalFormat.setRoundingMode(RoundingMode.UNNECESSARY); in test_formatToCharacterIterator_roundingUnnecessaryArithmeticException()
2127 decimalFormat.setRoundingMode(RoundingMode.UNNECESSARY); in test_formatDouble_roundingUnnecessaryArithmeticException()
2143 decimalFormat.setRoundingMode(RoundingMode.UNNECESSARY); in test_format_roundingUnnecessaryArithmeticException()
2274 decimalFormat.setRoundingMode(RoundingMode.UNNECESSARY); in test_format_withRoundingMode()
2377 decimalFormat.setRoundingMode(RoundingMode.UNNECESSARY); in test_format_withRoundingMode()
2480 decimalFormat.setRoundingMode(RoundingMode.UNNECESSARY); in test_format_withRoundingMode()
/libcore/luni/src/main/java/libcore/icu/
DNativeDecimalFormat.java569 case UNNECESSARY: nativeRoundingMode = 7; break; in setRoundingMode()