Home
last modified time | relevance | path

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

/external/icu4c/i18n/
Dnfrs.cpp513 int64_t leastCommonMultiple = rules[0]->getBaseValue(); in findFractionRuleSetRule() local
517 leastCommonMultiple = util_lcm(leastCommonMultiple, rules[i]->getBaseValue()); in findFractionRuleSetRule()
519 numerator = util64_fromDouble(number * (double)leastCommonMultiple + 0.5); in findFractionRuleSetRule()
532 tempDifference = numerator * rules[i]->getBaseValue() % leastCommonMultiple; in findFractionRuleSetRule()
538 if (leastCommonMultiple - tempDifference < tempDifference) { in findFractionRuleSetRule()
539 tempDifference = leastCommonMultiple - tempDifference; in findFractionRuleSetRule()