You are viewing a single comment's thread.
Return to all comments →
5 years ago
+ 0 comments
(a*b)/gcd(a,b) - may cause overflow
(a/gcd(a,b))*b - is the way to go