lcm

lcm

T
lcm
(
T
)
(
in T a
,
in T b
)

Examples

assert(lcm(2, 4) == 4);
assert(lcm(3, 5) == 15);
assert(lcm(1, 1) == 1);
assert(lcm(0, 100) == 0);

Meta