(svn r15777) -Add: helper functions to get the least common multiple and the greatest common divisor (Alberth)
This commit is contained in:
@@ -264,4 +264,7 @@ static FORCEINLINE void Swap(T &a, T &b)
|
||||
b = t;
|
||||
}
|
||||
|
||||
int LeastCommonMultiple(int a, int b);
|
||||
int GreatestCommonDivisor(int a, int b);
|
||||
|
||||
#endif /* MATH_FUNC_HPP */
|
||||
|
Reference in New Issue
Block a user