Math387::GcdInt64 Function

long long GcdInt64(const long long X, const long long Y);

Greatest common divisor.

#NameTypeDescription
1Xconst long long
2Yconst long long

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