newLISP Fan Club

Forum => Whither newLISP? => Topic started by: Kazimir Majorinc on March 11, 2011, 12:15:21 PM

Title: Least common multiple?
Post by: Kazimir Majorinc on March 11, 2011, 12:15:21 PM
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?
Title: Re: Least common multiple?
Post by: cormullion on March 12, 2011, 01:25:50 AM
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...
Title: Re: Least common multiple?
Post by: Kazimir Majorinc on March 31, 2011, 09:53:22 PM
Intelligence agency informed me that kosh implemented one lcm : //https://gist.github.com/897015
Title: Re: Least common multiple?
Post by: newdep on April 01, 2011, 01:41:30 PM
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 ;-)