Home
last modified time | relevance | path

Searched refs:tempDifference (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRuleSet.java636 long tempDifference; in findFractionRuleSetRule() local
646 tempDifference = numerator * rules[i].getBaseValue() % leastCommonMultiple; in findFractionRuleSetRule()
651 if (leastCommonMultiple - tempDifference < tempDifference) { in findFractionRuleSetRule()
652 tempDifference = leastCommonMultiple - tempDifference; in findFractionRuleSetRule()
659 if (tempDifference < difference) { in findFractionRuleSetRule()
660 difference = tempDifference; in findFractionRuleSetRule()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFRuleSet.java637 long tempDifference; in findFractionRuleSetRule() local
647 tempDifference = numerator * rules[i].getBaseValue() % leastCommonMultiple; in findFractionRuleSetRule()
652 if (leastCommonMultiple - tempDifference < tempDifference) { in findFractionRuleSetRule()
653 tempDifference = leastCommonMultiple - tempDifference; in findFractionRuleSetRule()
660 if (tempDifference < difference) { in findFractionRuleSetRule()
661 difference = tempDifference; in findFractionRuleSetRule()
/external/icu/icu4c/source/i18n/
Dnfrs.cpp595 int64_t tempDifference; in findFractionRuleSetRule() local
605 tempDifference = numerator * rules[i]->getBaseValue() % leastCommonMultiple; in findFractionRuleSetRule()
611 if (leastCommonMultiple - tempDifference < tempDifference) { in findFractionRuleSetRule()
612 tempDifference = leastCommonMultiple - tempDifference; in findFractionRuleSetRule()
619 if (tempDifference < difference) { in findFractionRuleSetRule()
620 difference = tempDifference; in findFractionRuleSetRule()