5 ms·
Fantastic tool. It also has a command line version which has almost completely replaced `bc` for me.
by curiousfab 3y ago
Fantastic tool. It also has a command line version which has almost completely replaced `bc` for me.
- jstanley 3y agoThe most annoying part about bc is always having to type "scale=5" before you start otherwise it makes you think all your answers are integer.
- danadam 3y ago"bc -l" runs it with scale set to 20. Also preloads some math functions.
- mnw21cam 3y agoThe word "some" is definitely an exaggeration here.
- gavinhoward 3y agoNot on my bc. [1] If it's missing anything you need, let me know. [1]: https://git.gavinhoward.com/gavin/bc https://git.gavinhoward.com/gavin/bc
- mnw21cam 3y agoOoo, nice. Has there been any interest from any distros for including it in (for instance) Debian?
- gavinhoward 3y agoIt's in some distros, but Debian for one has not been interested. It's in Gentoo (can be selected as the main bc), Void, Alpine, and a few others. I think there's also a Nix package? If someone's willing to go to bat for me to get it into Debian, I'll do the package myself.
- fuzztester 3y agoWhat danadam said. Also: https://www.gnu.org/software/bc/manual/html_mono/bc.html#TOC23 https://www.gnu.org/software/bc/manual/html_mono/bc.html#TOC... Environment variables BC_ENV_ARGS