Home | History | Annotate | Download | only in util

Lines Matching refs:lcm

102  * DESCRIPTION: Get the LCM of 2 numbers
108 * RETURN : int32_t type (LCM)
113 uint32_t lcm = 0;
125 lcm = num1;
127 lcm = num2;
129 temp = lcm;
132 if (((lcm % num1) == 0) && ((lcm % num2) == 0)) {
135 lcm += temp;
137 return lcm;