Searched refs:UNNECESSARY (Results 1 – 9 of 9) sorted by relevance
/libcore/luni/src/main/java/java/math/ |
D | RoundingMode.java | 82 UNNECESSARY(BigDecimal.ROUND_UNNECESSARY); enumConstant 115 return UNNECESSARY; in valueOf()
|
D | BigDecimal.java | 1937 return setScale(newScale, RoundingMode.UNNECESSARY); in setScale() 2763 case UNNECESSARY: in roundingBehavior()
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | OldBigDecimalArithmeticTest.java | 44 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 …]
|
D | OldBigDecimalConstructorsTest.java | 96 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()
|
D | OldBigDecimalCompareTest.java | 47 mc = new MathContext(34, RoundingMode.UNNECESSARY); in testAbsMathContextNeg()
|
D | OldBigDecimalTest.java | 178 setScale1.setScale(3, RoundingMode.UNNECESSARY); in test_setScaleILjava_math_RoundingMode()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | RoundingModeTest.java | 35 … ROUND_UNNECESSARY", RoundingMode.valueOf(BigDecimal.ROUND_UNNECESSARY), RoundingMode.UNNECESSARY); in test_valueOfI()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DecimalFormatTest.java | 2112 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/ |
D | NativeDecimalFormat.java | 569 case UNNECESSARY: nativeRoundingMode = 7; break; in setRoundingMode()
|