Searched refs:pluralVal (Results 1 – 3 of 3) sorted by relevance
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | NFRule.java | 804 double pluralVal = number; in doFormat() local 805 if (0 <= pluralVal && pluralVal < 1) { in doFormat() 808 pluralVal = Math.round(pluralVal * power(radix, exponent)); in doFormat() 811 pluralVal = pluralVal / power(radix, exponent); in doFormat() 813 toInsertInto.insert(pos, rulePatternFormat.format((long)(pluralVal))); in doFormat()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NFRule.java | 803 double pluralVal = number; in doFormat() local 804 if (0 <= pluralVal && pluralVal < 1) { in doFormat() 807 pluralVal = Math.round(pluralVal * power(radix, exponent)); in doFormat() 810 pluralVal = pluralVal / power(radix, exponent); in doFormat() 812 toInsertInto.insert(pos, rulePatternFormat.format((long)(pluralVal))); in doFormat()
|
/external/icu/icu4c/source/i18n/ |
D | nfrule.cpp | 797 double pluralVal = number; in doFormat() local 798 if (0 <= pluralVal && pluralVal < 1) { in doFormat() 801 pluralVal = uprv_round(pluralVal * uprv_pow(radix, exponent)); in doFormat() 804 pluralVal = pluralVal / uprv_pow(radix, exponent); in doFormat() 806 toInsertInto.insert(pos, rulePatternFormat->format((int32_t)(pluralVal), status)); in doFormat()
|