Lines Matching full:denominator
25 if (Denominator == RHS.Denominator)
28 // Create a common denominator for LHS and RHS by calculating the least
30 unsigned GCD = std::gcd(Denominator, RHS.Denominator);
31 unsigned LCM = (Denominator * RHS.Denominator) / GCD;
32 unsigned LHSNumerator = Numerator * (LCM / Denominator);
33 unsigned RHSNumerator = RHS.Numerator * (LCM / RHS.Denominator);
35 Denominator = LCM;