int Gcd(const int X, const int Y);
Greatest common divisor.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | const int | |
| 2 | Y | const int |
Returns: the greatest common divisor of X and Y. X and Y must be positive integers.
See Also: Math387::Lcm
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler