Searched refs:leastCommonMultiple (Results 1 – 1 of 1) sorted by relevance
513 int64_t leastCommonMultiple = rules[0]->getBaseValue(); in findFractionRuleSetRule() local517 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()