(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 6f1d634bc2
commit 4eea5c9669
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 */