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