/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | DecimalQuantityTest.java | 188 q0.roundToMagnitude(-1, MATH_CONTEXT_HALF_EVEN); in testDecimalQuantityRounding() 189 q1.roundToMagnitude(-1, MATH_CONTEXT_HALF_EVEN); in testDecimalQuantityRounding() 194 q0.roundToMagnitude(-1, MATH_CONTEXT_CEILING); in testDecimalQuantityRounding() 195 q1.roundToMagnitude(-1, MATH_CONTEXT_CEILING); in testDecimalQuantityRounding() 200 q0.roundToMagnitude(-1, MATH_CONTEXT_PRECISION); in testDecimalQuantityRounding() 201 q1.roundToMagnitude(-1, MATH_CONTEXT_PRECISION); in testDecimalQuantityRounding() 306 fq.roundToMagnitude(5, MATH_CONTEXT_HALF_EVEN); in testSwitchStorage() 383 fq.roundToMagnitude(-maxFrac, mc); in testUseApproximateDoubleWhenAble() 411 fq.roundToMagnitude(-2, MATH_CONTEXT_HALF_EVEN); in testDecimalQuantityBehaviorStandalone()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | DecimalQuantityTest.java | 185 q0.roundToMagnitude(-1, MATH_CONTEXT_HALF_EVEN); in testDecimalQuantityRounding() 186 q1.roundToMagnitude(-1, MATH_CONTEXT_HALF_EVEN); in testDecimalQuantityRounding() 191 q0.roundToMagnitude(-1, MATH_CONTEXT_CEILING); in testDecimalQuantityRounding() 192 q1.roundToMagnitude(-1, MATH_CONTEXT_CEILING); in testDecimalQuantityRounding() 197 q0.roundToMagnitude(-1, MATH_CONTEXT_PRECISION); in testDecimalQuantityRounding() 198 q1.roundToMagnitude(-1, MATH_CONTEXT_PRECISION); in testDecimalQuantityRounding() 303 fq.roundToMagnitude(5, MATH_CONTEXT_HALF_EVEN); in testSwitchStorage() 380 fq.roundToMagnitude(-maxFrac, mc); in testUseApproximateDoubleWhenAble() 408 fq.roundToMagnitude(-2, MATH_CONTEXT_HALF_EVEN); in testDecimalQuantityBehaviorStandalone()
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | Precision.java | 615 value.roundToMagnitude(getRoundingMagnitudeFraction(maxFrac), mathContext); in apply() 632 value.roundToMagnitude(getRoundingMagnitudeSignificant(value, maxSig), mathContext); in apply() 677 value.roundToMagnitude(roundingMag, mathContext); in apply()
|
D | Scale.java | 196 quantity.roundToMagnitude(quantity.getMagnitude() - mc.getPrecision(), mc); in applyReciprocalTo()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | Precision.java | 627 value.roundToMagnitude(getRoundingMagnitudeFraction(maxFrac), mathContext); in apply() 644 value.roundToMagnitude(getRoundingMagnitudeSignificant(value, maxSig), mathContext); in apply() 689 value.roundToMagnitude(roundingMag, mathContext); in apply()
|
D | Scale.java | 200 quantity.roundToMagnitude(quantity.getMagnitude() - mc.getPrecision(), mc); in applyReciprocalTo()
|
/external/icu/icu4c/source/i18n/ |
D | number_rounding.cpp | 347 value.roundToMagnitude( in apply() 357 value.roundToMagnitude( in apply() 386 value.roundToMagnitude(roundingMag, fRoundingMode, status); in apply()
|
D | number_decimalquantity.cpp | 183 dq.roundToMagnitude(0, roundingMode, status); in roundToIncrement() 190 roundToMagnitude(-maxFrac, roundingMode, status); in roundToIncrement() 609 void DecimalQuantity::roundToMagnitude(int32_t magnitude, RoundingMode roundingMode, UErrorCode& st… in roundToMagnitude() function in DecimalQuantity 692 roundToMagnitude(magnitude, roundingMode, status); // start over in roundToMagnitude()
|
D | number_decimalquantity.h | 94 void roundToMagnitude(int32_t magnitude, RoundingMode roundingMode, UErrorCode& status);
|
D | rbnf.cpp | 1126 copy.roundToMagnitude(0, number::impl::RoundingMode::UNUM_ROUND_HALFEVEN, status); in format() 1165 copy.roundToMagnitude(0, number::impl::RoundingMode::UNUM_ROUND_HALFEVEN, status); in format() 1289 digitList.roundToMagnitude( in format()
|
D | nfsubs.cpp | 1077 dl.roundToMagnitude(-20, UNUM_ROUND_HALFEVEN, status); // round to 20 fraction digits. in doSubstitution()
|
D | number_patternstring.cpp | 724 incrementQuantity.roundToMagnitude(0, kDefaultMode, status); in propertiesToPatternString()
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_decimalquantity.cpp | 97 fq.roundToMagnitude(-2, RoundingMode::UNUM_ROUND_HALFEVEN, status); in testDecimalQuantityBehaviorStandalone() 116 fq.roundToMagnitude(5, RoundingMode::UNUM_ROUND_HALFEVEN, status); in testSwitchStorage() 305 fq.roundToMagnitude(-cas.maxFrac, cas.roundingMode, status); in testUseApproximateDoubleWhenAble()
|
D | numfmtst.cpp | 8306 dq.roundToMagnitude(0, UNUM_ROUND_HALFEVEN, status); in Test10727_RoundingZero()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | DecimalQuantity.java | 75 public void roundToMagnitude(int roundingMagnitude, MathContext mathContext); in roundToMagnitude() method
|
D | DecimalQuantity_AbstractBCD.java | 747 public void roundToMagnitude(int magnitude, MathContext mathContext) { in roundToMagnitude() method in DecimalQuantity_AbstractBCD 839 roundToMagnitude(magnitude, mathContext); // start over in roundToMagnitude()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalQuantity.java | 73 public void roundToMagnitude(int roundingMagnitude, MathContext mathContext); in roundToMagnitude() method
|
D | DecimalQuantity_AbstractBCD.java | 745 public void roundToMagnitude(int magnitude, MathContext mathContext) { in roundToMagnitude() method in DecimalQuantity_AbstractBCD 837 roundToMagnitude(magnitude, mathContext); // start over in roundToMagnitude()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/ |
D | DecimalQuantity_SimpleStorage.java | 370 public void roundToMagnitude(int roundingMagnitude, MathContext mathContext) {
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/ |
D | DecimalQuantity_SimpleStorage.java | 367 public void roundToMagnitude(int roundingMagnitude, MathContext mathContext) {
|