![]() |
![]()
| ![]() |
![]()
NAMExt_lcm() - Least common multiple LIBRARY#include <xtend/math.h> -lxtend SYNOPSISunsigned long xt_lcm(unsigned long a,unsigned long b) ARGUMENTSa, b: Numbers for which to find LCM DESCRIPTIONComputes the least common multiple of two natural numbers a and b. Note that this function may fail for relatively small values, as their LCM may be beyond the range of a 32-bit integer. RETURN VALUESThe least common multiple of a and b. SEE ALSOxt_gcd(3)
|