Home
last modified time | relevance | path

Searched refs:maxSignificantDigits (Results 1 – 19 of 19) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/number/
DFractionPrecision.java68 public Precision withMaxDigits(int maxSignificantDigits) { in withMaxDigits() argument
69 if (maxSignificantDigits >= 1 && maxSignificantDigits <= RoundingUtils.MAX_INT_FRAC_SIG) { in withMaxDigits()
70 return constructFractionSignificant(this, -1, maxSignificantDigits); in withMaxDigits()
DPrecision.java234 public static Precision maxSignificantDigits(int maxSignificantDigits) { in maxSignificantDigits() argument
235 if (maxSignificantDigits >= 1 && maxSignificantDigits <= RoundingUtils.MAX_INT_FRAC_SIG) { in maxSignificantDigits()
236 return constructSignificant(1, maxSignificantDigits); in maxSignificantDigits()
256 …blic static Precision minMaxSignificantDigits(int minSignificantDigits, int maxSignificantDigits) { in minMaxSignificantDigits() argument
258 && maxSignificantDigits <= RoundingUtils.MAX_INT_FRAC_SIG in minMaxSignificantDigits()
259 && minSignificantDigits <= maxSignificantDigits) { in minMaxSignificantDigits()
260 return constructSignificant(minSignificantDigits, maxSignificantDigits); in minMaxSignificantDigits()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DFractionPrecision.java70 public Precision withMaxDigits(int maxSignificantDigits) { in withMaxDigits() argument
71 if (maxSignificantDigits >= 1 && maxSignificantDigits <= RoundingUtils.MAX_INT_FRAC_SIG) { in withMaxDigits()
72 return constructFractionSignificant(this, -1, maxSignificantDigits); in withMaxDigits()
DPrecision.java243 public static Precision maxSignificantDigits(int maxSignificantDigits) { in maxSignificantDigits() method in Precision
244 if (maxSignificantDigits >= 1 && maxSignificantDigits <= RoundingUtils.MAX_INT_FRAC_SIG) { in maxSignificantDigits()
245 return constructSignificant(1, maxSignificantDigits); in maxSignificantDigits()
266 …blic static Precision minMaxSignificantDigits(int minSignificantDigits, int maxSignificantDigits) { in minMaxSignificantDigits() argument
268 && maxSignificantDigits <= RoundingUtils.MAX_INT_FRAC_SIG in minMaxSignificantDigits()
269 && minSignificantDigits <= maxSignificantDigits) { in minMaxSignificantDigits()
270 return constructSignificant(minSignificantDigits, maxSignificantDigits); in minMaxSignificantDigits()
/external/icu/icu4c/source/i18n/
Dnumber_rounding.cpp179 Precision Precision::maxSignificantDigits(int32_t maxSignificantDigits) { in maxSignificantDigits() function in Precision
180 if (maxSignificantDigits >= 1 && maxSignificantDigits <= kMaxIntFracSig) { in maxSignificantDigits()
181 return constructSignificant(1, maxSignificantDigits); in maxSignificantDigits()
187 …on Precision::minMaxSignificantDigits(int32_t minSignificantDigits, int32_t maxSignificantDigits) { in minMaxSignificantDigits() argument
188 if (minSignificantDigits >= 1 && maxSignificantDigits <= kMaxIntFracSig && in minMaxSignificantDigits()
189 minSignificantDigits <= maxSignificantDigits) { in minMaxSignificantDigits()
190 return constructSignificant(minSignificantDigits, maxSignificantDigits); in minMaxSignificantDigits()
217 Precision FractionPrecision::withMaxDigits(int32_t maxSignificantDigits) const { in withMaxDigits()
219 if (maxSignificantDigits >= 1 && maxSignificantDigits <= kMaxIntFracSig) { in withMaxDigits()
220 return constructFractionSignificant(*this, -1, maxSignificantDigits); in withMaxDigits()
/external/icu/libicu/cts_headers/unicode/
Dnumberformatter.h607 static SignificantDigitsPrecision maxSignificantDigits(int32_t maxSignificantDigits);
621 int32_t maxSignificantDigits);
822 Precision withMaxDigits(int32_t maxSignificantDigits) const;
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h607 static SignificantDigitsPrecision maxSignificantDigits(int32_t maxSignificantDigits);
621 int32_t maxSignificantDigits);
822 Precision withMaxDigits(int32_t maxSignificantDigits) const;
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberFormatterApiTest.java736 .precision(Precision.maxSignificantDigits(4)) in unitMeasure()
1429 .precision(Precision.maxSignificantDigits(2)), in unitUsageSkeletons()
1454 .precision(Precision.maxSignificantDigits(2)), in unitUsageSkeletons()
1467 .precision(Precision.maxSignificantDigits(2)), in unitUsageSkeletons()
1480 .precision(Precision.maxSignificantDigits(2)), in unitUsageSkeletons()
1506 .precision(Precision.maxSignificantDigits(4)), in unitUsageSkeletons()
2003 NumberFormatter.with().precision(Precision.maxSignificantDigits(4)), in roundingFigures()
2042 NumberFormatter.with().precision(Precision.maxSignificantDigits(2)), in roundingFractionFigures()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberFormatterApiTest.java739 .precision(Precision.maxSignificantDigits(4)) in unitMeasure()
1432 .precision(Precision.maxSignificantDigits(2)), in unitUsageSkeletons()
1457 .precision(Precision.maxSignificantDigits(2)), in unitUsageSkeletons()
1470 .precision(Precision.maxSignificantDigits(2)), in unitUsageSkeletons()
1483 .precision(Precision.maxSignificantDigits(2)), in unitUsageSkeletons()
1509 .precision(Precision.maxSignificantDigits(4)), in unitUsageSkeletons()
2006 NumberFormatter.with().precision(Precision.maxSignificantDigits(4)), in roundingFigures()
2045 NumberFormatter.with().precision(Precision.maxSignificantDigits(2)), in roundingFractionFigures()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_api.cpp778 .precision(Precision::maxSignificantDigits(4)) in unitMeasure()
1457 .precision(Precision::maxSignificantDigits(2)), in unitUsageSkeletons()
1482 .precision(Precision::maxSignificantDigits(2)), in unitUsageSkeletons()
1495 .precision(Precision::maxSignificantDigits(2)), in unitUsageSkeletons()
1508 .precision(Precision::maxSignificantDigits(2)), in unitUsageSkeletons()
1531 .precision(Precision::maxSignificantDigits(4)), in unitUsageSkeletons()
2045 NumberFormatter::with().precision(Precision::maxSignificantDigits(4)), in roundingFigures()
2085 NumberFormatter::with().precision(Precision::maxSignificantDigits(2)), in roundingFractionFigures()
4167 VALID_RANGE_ONEARG(precision, Precision::maxSignificantDigits, 1); in validRanges()
4342 .precision(Precision::maxSignificantDigits(5)) in toDecimalNumber()
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...
/external/icu/android_icu4j/api/public/
Dcurrent.txt1797 method public static android.icu.number.Precision maxSignificantDigits(int);
/external/icu/icu4j/tools/build/
Dicu4j62.api3.gz12;ICU4J 62.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j68.api3.gz
Dicu4j65.api3.gz
Dicu4j64.api3.gz
Dicu4j63.api3.gz12;ICU4J 63.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j66.api3.gz
Dicu4j67.api3.gz12;ICU4J 67.1;; 2ST@3.6;PB;NS;NF;NS; ...