Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFRuleSet.java628 long leastCommonMultiple = rules[0].getBaseValue(); in findFractionRuleSetRule() local
630 leastCommonMultiple = lcm(leastCommonMultiple, rules[i].getBaseValue()); in findFractionRuleSetRule()
632 long numerator = Math.round(number * leastCommonMultiple); in findFractionRuleSetRule()
645 tempDifference = numerator * rules[i].getBaseValue() % leastCommonMultiple; in findFractionRuleSetRule()
650 if (leastCommonMultiple - tempDifference < tempDifference) { in findFractionRuleSetRule()
651 tempDifference = leastCommonMultiple - tempDifference; in findFractionRuleSetRule()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFRuleSet.java627 long leastCommonMultiple = rules[0].getBaseValue(); in findFractionRuleSetRule() local
629 leastCommonMultiple = lcm(leastCommonMultiple, rules[i].getBaseValue()); in findFractionRuleSetRule()
631 long numerator = Math.round(number * leastCommonMultiple); in findFractionRuleSetRule()
644 tempDifference = numerator * rules[i].getBaseValue() % leastCommonMultiple; in findFractionRuleSetRule()
649 if (leastCommonMultiple - tempDifference < tempDifference) { in findFractionRuleSetRule()
650 tempDifference = leastCommonMultiple - tempDifference; in findFractionRuleSetRule()
/external/icu/icu4c/source/i18n/
Dnfrs.cpp584 int64_t leastCommonMultiple = rules[0]->getBaseValue(); in findFractionRuleSetRule() local
588 leastCommonMultiple = util_lcm(leastCommonMultiple, rules[i]->getBaseValue()); in findFractionRuleSetRule()
590 numerator = util64_fromDouble(number * (double)leastCommonMultiple + 0.5); in findFractionRuleSetRule()
603 tempDifference = numerator * rules[i]->getBaseValue() % leastCommonMultiple; in findFractionRuleSetRule()
609 if (leastCommonMultiple - tempDifference < tempDifference) { in findFractionRuleSetRule()
610 tempDifference = leastCommonMultiple - tempDifference; in findFractionRuleSetRule()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...