Searched refs:leastCommonMultiple (Results 1 – 4 of 4) sorted by relevance
633 long leastCommonMultiple = rules[0].getBaseValue(); in findFractionRuleSetRule() local635 leastCommonMultiple = lcm(leastCommonMultiple, rules[i].getBaseValue()); in findFractionRuleSetRule()637 long numerator = Math.round(number * leastCommonMultiple); in findFractionRuleSetRule()650 tempDifference = numerator * rules[i].getBaseValue() % leastCommonMultiple; in findFractionRuleSetRule()655 if (leastCommonMultiple - tempDifference < tempDifference) { in findFractionRuleSetRule()656 tempDifference = leastCommonMultiple - tempDifference; in findFractionRuleSetRule()
632 long leastCommonMultiple = rules[0].getBaseValue(); in findFractionRuleSetRule() local634 leastCommonMultiple = lcm(leastCommonMultiple, rules[i].getBaseValue()); in findFractionRuleSetRule()636 long numerator = Math.round(number * leastCommonMultiple); in findFractionRuleSetRule()649 tempDifference = numerator * rules[i].getBaseValue() % leastCommonMultiple; in findFractionRuleSetRule()654 if (leastCommonMultiple - tempDifference < tempDifference) { in findFractionRuleSetRule()655 tempDifference = leastCommonMultiple - tempDifference; in findFractionRuleSetRule()
587 int64_t leastCommonMultiple = rules[0]->getBaseValue(); in findFractionRuleSetRule() local591 leastCommonMultiple = util_lcm(leastCommonMultiple, rules[i]->getBaseValue()); in findFractionRuleSetRule()593 numerator = util64_fromDouble(number * (double)leastCommonMultiple + 0.5); in findFractionRuleSetRule()606 tempDifference = numerator * rules[i]->getBaseValue() % leastCommonMultiple; in findFractionRuleSetRule()612 if (leastCommonMultiple - tempDifference < tempDifference) { in findFractionRuleSetRule()613 tempDifference = leastCommonMultiple - tempDifference; in findFractionRuleSetRule()
META-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...