Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dplurrule.cpp1510 int32_t numFractionDigits = decimals(n); in init() local
1511 init(n, numFractionDigits, getFractionalDigits(n, numFractionDigits)); in init()
1552 int32_t numFractionDigits; in quickInit() local
1553 for (numFractionDigits = 0; numFractionDigits <= 3; numFractionDigits++) { in quickInit()
1554 double scaledN = n * p10[numFractionDigits]; in quickInit()
1561 init(n, numFractionDigits, getFractionalDigits(n, numFractionDigits)); in quickInit()
1584 int numFractionDigits = 15; in decimals() local
1589 --numFractionDigits; in decimals()
1591 numFractionDigits -= exponent; // Fraction part of fixed point representation. in decimals()
1592 return numFractionDigits; in decimals()
/external/icu/icu4c/source/test/intltest/
Dplurults.cpp990 int32_t numFractionDigits = FixedDecimal::decimals(tc.n); in testFixedDecimal() local
991 if (numFractionDigits != tc.fractionDigitCount) { in testFixedDecimal()
993 __FILE__, __LINE__, tc.n, tc.fractionDigitCount, numFractionDigits); in testFixedDecimal()
996 int64_t actualFractionDigits = FixedDecimal::getFractionalDigits(tc.n, numFractionDigits); in testFixedDecimal()
999 … __FILE__, __LINE__, tc.n, numFractionDigits, tc.fractionDigits, actualFractionDigits); in testFixedDecimal()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralRules.java793 int numFractionDigits = ePos - 2 - exponent; in decimals() local
794 if (numFractionDigits < 0) { in decimals()
797 for (int i=ePos-1; numFractionDigits > 0; --i) { in decimals()
801 --numFractionDigits; in decimals()
803 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()