Home | History | Annotate | Download | only in util

Lines Matching refs:lcm

112  * DESCRIPTION: Get the LCM of 2 numbers
118 * RETURN : int32_t type (LCM)
123 uint32_t lcm = 0;
135 lcm = num1;
137 lcm = num2;
139 temp = lcm;
142 if (((lcm % num1) == 0) && ((lcm % num2) == 0)) {
145 lcm += temp;
147 return lcm;