Least common multiple?

Started by Kazimir Majorinc, March 11, 2011, 12:15:21 PM

Previous topic - Next topic

Kazimir Majorinc

It appears that Newlisp doesn't have least common multiple, right? If not, I propose the addition (with name lcm), at least because of symmetry: its "pair", gcd is already here - alone.



Btw, support for real numbers is impressive: beta, gamma, erf, Fourier's transformation. How these functions found their way to Newlisp?
http://kazimirmajorinc.com/\">WWW site; http://kazimirmajorinc.blogspot.com\">blog.

cormullion

#1
I think Lutz is a statistician - he probably uses a lot of those functions more than anyone else...



I've often wanted to find a use for Fourier transforms...

Kazimir Majorinc

#2
Intelligence agency informed me that kosh implemented one lcm : https://gist.github.com/897015">//https://gist.github.com/897015
http://kazimirmajorinc.com/\">WWW site; http://kazimirmajorinc.blogspot.com\">blog.

newdep

#3
Always good to have connections with the intelligence agency ;-) Nice one!

Perhaps that could become a buildin? Just try to bribe Lutz with a Beer .. you never know ;-)
-- (define? (Cornflakes))