Earlier quoted context omitted.
I've been using wcalc personally, haven't had many reasons to use something else.
wcalc is pretty much the best terminal-mode calculator anywhere. It handles significant digits very well and knows about a bunch of mathematical constants in unicode form! -> √7×2÷π−ε0×σ+α+γ+R∞×Mτ-Φ0 = 2.26885 http://w-calc.sourceforge.net/download.php
Show HN: Calc – A fast and intuitive command-line calculator written in Go
21–30 of 34 posts
Re: Show HN: Calc – A fast and intuitive command-line calculator written in Go
#22An alternative that isn't discussed in the Why not use ...? section is calc: http://www.isthe.com/chongo/tech/comp/calc It is very powerful, has history, shows previous calculations, and it's pretty darn quick too. Of course, there are plenty more calculators, powerful too. I only mention calc because it bothers me that the name of this new project collides with it, without really providing anything useful beyond hav…
Re: Show HN: Calc – A fast and intuitive command-line calculator written in Go
#23An alternative that isn't discussed in the Why not use ...? section is calc: http://www.isthe.com/chongo/tech/comp/calc It is very powerful, has history, shows previous calculations, and it's pretty darn quick too. Of course, there are plenty more calculators, powerful too. I only mention calc because it bothers me that the name of this new project collides with it, without really providing anything useful beyond hav…
Two programs, same funcionality, same name. Haven't we learnt anything?
Re: Show HN: Calc – A fast and intuitive command-line calculator written in Go
#24An alternative that isn't discussed in the Why not use ...? section is calc: http://www.isthe.com/chongo/tech/comp/calc It is very powerful, has history, shows previous calculations, and it's pretty darn quick too. Of course, there are plenty more calculators, powerful too. I only mention calc because it bothers me that the name of this new project collides with it, without really providing anything useful beyond hav…
This developer could have at least chosen a different name. Two programs, same funcionality, same name. Haven't we learnt anything ?
Re: Show HN: Calc – A fast and intuitive command-line calculator written in Go
#25Includes a calculator, but also a complete declarative data-processing language too.
E.g.:
$ tab "[ log(@),@ : count(5) ]"
0 1
0.693147 2
1.09861 3
1.38629 4
1.60944 5Re: Show HN: Calc – A fast and intuitive command-line calculator written in Go
#26An alternative that isn't discussed in the Why not use ...? section is calc: http://www.isthe.com/chongo/tech/comp/calc It is very powerful, has history, shows previous calculations, and it's pretty darn quick too. Of course, there are plenty more calculators, powerful too. I only mention calc because it bothers me that the name of this new project collides with it, without really providing anything useful beyond hav…
Upvoted for calc. I use it for all the small calculation, as it most often behaves slightly better than bc $ echo "1/2" | bc 0 $ echo "1/2" | bc -l .50000000000000000000 $ echo "scale=1; 1/2" | bc .5 $ echo "1/2" | calc -p 0.5 $ echo "+1+1+1+1" | bc -l (standard_in) 1: syntax error $ echo "+1+1+1+1" | calc -p 4 $ echo "sqrt(-1)" | bc -l Runtime error (func=(main), adr=4): Square root of a negative number $ echo "sqrt…
$ bc -l Re: Show HN: Calc – A fast and intuitive command-line calculator written in Go
#27Nice and great job ! I should switch to this. I have been using python until now. function calc { python -c "from math import *; print $1" }
Re: Show HN: Calc – A fast and intuitive command-line calculator written in Go
#28I stopped using infix calculators a while back in favor of RPN/stack calculators (dc) because I get quite tired of parens. Is the program structured such that this change would be simple? Otherwise I feel like this is simply yet another CLI calculator.
I was planning on adding a REPL-mode to it today for fun, and then someone linked me this post, saying "this could have been clac!", hehe.