lcm(3)

LIBRARY
#include <xtend/math.h> -lxtend

SYNOPSIS

unsigned long lcm(unsigned long a,unsigned long b)

ARGUMENTS
a, b: Numbers for which to find LCM

DESCRIPTION
Computes 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 VALUES
The least common multiple of a and b.

SEE ALSO
gcd(3)