HomeSort by relevance Sort by last modified time
    Searched refs:roundToMagnitude (Results 1 - 20 of 20) sorted by null

  /external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DecimalQuantity.java 57 * If rounding to a power of ten, use the more efficient {@link #roundToMagnitude} instead.
75 public void roundToMagnitude(int roundingMagnitude, MathContext mathContext);
DecimalQuantity_AbstractBCD.java 63 // is *required* that roundToMagnitude(), roundToIncrement(), or roundToInfinity() is called. If
747 public void roundToMagnitude(int magnitude, MathContext mathContext) {
839 roundToMagnitude(magnitude, mathContext); // start over
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DecimalQuantity.java 55 * If rounding to a power of ten, use the more efficient {@link #roundToMagnitude} instead.
73 public void roundToMagnitude(int roundingMagnitude, MathContext mathContext);
DecimalQuantity_AbstractBCD.java 61 // is *required* that roundToMagnitude(), roundToIncrement(), or roundToInfinity() is called. If
745 public void roundToMagnitude(int magnitude, MathContext mathContext) {
837 roundToMagnitude(magnitude, mathContext); // start over
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DecimalQuantityTest.java 188 q0.roundToMagnitude(-1, MATH_CONTEXT_HALF_EVEN);
189 q1.roundToMagnitude(-1, MATH_CONTEXT_HALF_EVEN);
194 q0.roundToMagnitude(-1, MATH_CONTEXT_CEILING);
195 q1.roundToMagnitude(-1, MATH_CONTEXT_CEILING);
200 q0.roundToMagnitude(-1, MATH_CONTEXT_PRECISION);
201 q1.roundToMagnitude(-1, MATH_CONTEXT_PRECISION);
306 fq.roundToMagnitude(5, MATH_CONTEXT_HALF_EVEN);
383 fq.roundToMagnitude(-maxFrac, mc);
411 fq.roundToMagnitude(-2, MATH_CONTEXT_HALF_EVEN);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DecimalQuantityTest.java 185 q0.roundToMagnitude(-1, MATH_CONTEXT_HALF_EVEN);
186 q1.roundToMagnitude(-1, MATH_CONTEXT_HALF_EVEN);
191 q0.roundToMagnitude(-1, MATH_CONTEXT_CEILING);
192 q1.roundToMagnitude(-1, MATH_CONTEXT_CEILING);
197 q0.roundToMagnitude(-1, MATH_CONTEXT_PRECISION);
198 q1.roundToMagnitude(-1, MATH_CONTEXT_PRECISION);
303 fq.roundToMagnitude(5, MATH_CONTEXT_HALF_EVEN);
380 fq.roundToMagnitude(-maxFrac, mc);
408 fq.roundToMagnitude(-2, MATH_CONTEXT_HALF_EVEN);
  /external/icu/android_icu4j/src/main/java/android/icu/number/
Scale.java 196 quantity.roundToMagnitude(quantity.getMagnitude() - mc.getPrecision(), mc);
Precision.java 615 value.roundToMagnitude(getRoundingMagnitudeFraction(maxFrac), mathContext);
632 value.roundToMagnitude(getRoundingMagnitudeSignificant(value, maxSig), mathContext);
677 value.roundToMagnitude(roundingMag, mathContext);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
Scale.java 200 quantity.roundToMagnitude(quantity.getMagnitude() - mc.getPrecision(), mc);
Precision.java 627 value.roundToMagnitude(getRoundingMagnitudeFraction(maxFrac), mathContext);
644 value.roundToMagnitude(getRoundingMagnitudeSignificant(value, maxSig), mathContext);
689 value.roundToMagnitude(roundingMag, mathContext);
  /external/icu/icu4c/source/i18n/
number_rounding.cpp 347 value.roundToMagnitude(
357 value.roundToMagnitude(
386 value.roundToMagnitude(roundingMag, fRoundingMode, status);
number_decimalquantity.h 76 * <p>If rounding to a power of ten, use the more efficient {@link #roundToMagnitude} instead.
94 void roundToMagnitude(int32_t magnitude, RoundingMode roundingMode, UErrorCode& status);
309 // is *required* that roundToMagnitude(), roundToIncrement(), or roundToInfinity() is called. If
number_decimalquantity.cpp 183 dq.roundToMagnitude(0, roundingMode, status);
190 roundToMagnitude(-maxFrac, roundingMode, status);
609 void DecimalQuantity::roundToMagnitude(int32_t magnitude, RoundingMode roundingMode, UErrorCode& status) {
692 roundToMagnitude(magnitude, roundingMode, status); // start over
    [all...]
rbnf.cpp 1126 copy.roundToMagnitude(0, number::impl::RoundingMode::UNUM_ROUND_HALFEVEN, status);
    [all...]
nfsubs.cpp     [all...]
  /external/icu/icu4c/source/test/intltest/
numbertest_decimalquantity.cpp 97 fq.roundToMagnitude(-2, RoundingMode::UNUM_ROUND_HALFEVEN, status);
116 fq.roundToMagnitude(5, RoundingMode::UNUM_ROUND_HALFEVEN, status);
305 fq.roundToMagnitude(-cas.maxFrac, cas.roundingMode, status);
numfmtst.cpp     [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/
DecimalQuantity_SimpleStorage.java 370 public void roundToMagnitude(int roundingMagnitude, MathContext mathContext) {
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DecimalQuantity_SimpleStorage.java 367 public void roundToMagnitude(int roundingMagnitude, MathContext mathContext) {
  /external/cldr/tools/java/libs/
icu4j.jar 

Completed in 654 milliseconds