Page 1 of 1

Least common multiple?

Posted: Fri Mar 11, 2011 8:15 pm
by 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?

Re: Least common multiple?

Posted: Sat Mar 12, 2011 9:25 am
by cormullion
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...

Re: Least common multiple?

Posted: Fri Apr 01, 2011 4:53 am
by Kazimir Majorinc
Intelligence agency informed me that kosh implemented one lcm : https://gist.github.com/897015

Re: Least common multiple?

Posted: Fri Apr 01, 2011 8:41 pm
by newdep
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 ;-)