Logo

Programming-Idioms

History of Idiom 75 > diff from v22 to v23

Edit summary for version 23 by foobar:
New Lisp implementation by user [foobar]

Version 22

2019-01-25, 11:49:42

Version 23

2019-09-26, 15:51:33

Idiom #75 Compute LCM

Compute the least common multiple x of big integers a and b. Use an integer type able to handle huge numbers.

Idiom #75 Compute LCM

Compute the least common multiple x of big integers a and b. Use an integer type able to handle huge numbers.

Code
(setf x (lcm a b))