lcn2 / calc

C-style arbitrary precision calculator
http://www.isthe.com/chongo/tech/comp/calc/index.html
Other
357 stars 51 forks source link

pre-defined constants? #116

Closed pmetzger closed 1 year ago

pmetzger commented 1 year ago

It would be nice if there were a library of predefined constants just as there's a library of predefined functions. Yes, for some things one can just do e=exp(1) or pi=pi() and so forth at the start of one's session (and I have those in particular in my calc rc file), but it's a bit annoying for beginners. Perhaps a library of common mathematical constants might be made available?

lcn2 commented 1 year ago

This is an interesting idea, @pmetzger. We have opened up a comment issue 3 comment 749699647 that at the end invites people, such as yourself, to suggest other pre-defined constants.

We have also added a TODO to the issue #103.

As such we thank you for your suggestion and will now close this issue with our thanks.