Typo: lcm (lcd)

24 views
Skip to first unread message

Kurt Pagani

unread,
Jan 12, 2019, 4:50:07 PM1/12/19
to pure-lang
Least common multiple should read lcm (nit-picking ;-)


gcd x y
lcd x y

The greatest common divisor and least common multiple functions from the GMP library. These return a bigint if at least one of the arguments is a bigint, a machine int otherwise.


indeed:

> show lcd
show: unknown symbol 'lcd'
> show lcm
lcm x::bigint y::bigint = __C::bigint_lcm x y;
lcm x::int y::bigint = __C::bigint_lcm (bigint x) y;
lcm x::bigint y::int = __C::bigint_lcm x (bigint y);
lcm x::int y::int = int (__C::bigint_lcm (bigint x) (bigint y));
>


Albert Graef

unread,
Aug 21, 2019, 12:37:34 PM8/21/19
to pure...@googlegroups.com
On Sat, Jan 12, 2019 at 10:50 PM Kurt Pagani <nil...@gmail.com> wrote:
Least common multiple should read lcm (nit-picking ;-)

Indeed. ;-) Fixed in git. Thanks for spotting this. And sorry for the long delay, somehow your post got buried deep in my inbox. :(

Albert

--
Dr. Albert Gr"af
Computer Music Research Group, JGU Mainz, Germany
Email: agg...@gmail.com, web: https://agraef.github.io/
Reply all
Reply to author
Forward
0 new messages