Home
last modified time | relevance | path

Searched refs:numFractionDigits (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/i18n/
Dplurrule.cpp1549 int32_t numFractionDigits = decimals(n); in init() local
1550 init(n, numFractionDigits, getFractionalDigits(n, numFractionDigits)); in init()
1591 int32_t numFractionDigits; in quickInit() local
1592 for (numFractionDigits = 0; numFractionDigits <= 3; numFractionDigits++) { in quickInit()
1593 double scaledN = n * p10[numFractionDigits]; in quickInit()
1600 init(n, numFractionDigits, getFractionalDigits(n, numFractionDigits)); in quickInit()
1623 int numFractionDigits = 15; in decimals() local
1628 --numFractionDigits; in decimals()
1630 numFractionDigits -= exponent; // Fraction part of fixed point representation. in decimals()
1631 return numFractionDigits; in decimals()
/external/icu/icu4c/source/test/intltest/
Dplurults.cpp992 int32_t numFractionDigits = FixedDecimal::decimals(tc.n); in testFixedDecimal() local
993 if (numFractionDigits != tc.fractionDigitCount) { in testFixedDecimal()
995 __FILE__, __LINE__, tc.n, tc.fractionDigitCount, numFractionDigits); in testFixedDecimal()
998 int64_t actualFractionDigits = FixedDecimal::getFractionalDigits(tc.n, numFractionDigits); in testFixedDecimal()
1001 … __FILE__, __LINE__, tc.n, numFractionDigits, tc.fractionDigits, actualFractionDigits); in testFixedDecimal()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralRules.java797 int numFractionDigits = ePos - 2 - exponent; in decimals() local
798 if (numFractionDigits < 0) { in decimals()
801 for (int i=ePos-1; numFractionDigits > 0; --i) { in decimals()
805 --numFractionDigits; in decimals()
807 return numFractionDigits; in decimals()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralRules.java758 int numFractionDigits = ePos - 2 - exponent; in decimals() local
759 if (numFractionDigits < 0) { in decimals()
762 for (int i=ePos-1; numFractionDigits > 0; --i) { in decimals()
766 --numFractionDigits; in decimals()
768 return numFractionDigits; in decimals()