(svn r15777) -Add: helper functions to get the least common multiple and the greatest common divisor (Alberth)

This commit is contained in:
rubidium
2009-03-21 01:34:31 +00:00
parent da37ab321d
commit 3ef8a09e20
5 changed files with 53 additions and 0 deletions

View File

@@ -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 */