Math387::Lcm Function

int Lcm(const int X, const int Y);

Smallest common multiplier.

#NameTypeDescription
1Xconst int
2Yconst int

Returns: the smallest common multiplier of X and Y. X and Y must be positive integers.

See Also: Math387::Gcd
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler