std-lcm | ![]() |
Returns the least common multiple of all given integer numbers.
(lcm 2 3) = (/ (* 2 3) (gcd 2 3))
(std-lcm '(2 3 4)) => 6 (* 2 3) (std-lcm '(2 6 4)) => 12 (* 2 3)
intlst: A list of integer numbers.
A integer number or a real, if the resulting exceeds the supported range.
None.
(std-require 'STDMATH)
Defined in STDMATH