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?
Least common multiple?
-
- Posts: 388
- Joined: Thu May 08, 2008 1:24 am
- Location: Croatia
- Contact:
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
Re: Least common multiple?
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...
I've often wanted to find a use for Fourier transforms...
-
- Posts: 388
- Joined: Thu May 08, 2008 1:24 am
- Location: Croatia
- Contact:
Re: Least common multiple?
Intelligence agency informed me that kosh implemented one lcm : https://gist.github.com/897015
Re: Least common multiple?
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 ;-)
Perhaps that could become a buildin? Just try to bribe Lutz with a Beer .. you never know ;-)
-- (define? (Cornflakes))