4 ms·
An alternative that isn't discussed in the Why not use ...? section is calc: http://www.isthe.com/chongo/tech/comp/calc http://www.isthe.com/chongo/tech/comp/c
by clarry 12y ago
An alternative that isn't discussed in the Why not use ...? section is calc:
http://www.isthe.com/chongo/tech/comp/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 having been written in a fashionable language.
- alfredxing 12y agoDid not know about this. It looks great, I'll definitely be trying it out! The project name was originally calc.go, but as you can imagine that didn't work out too well with `go get`.
- brute 12y agoUpvoted 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(-1)" | calc -p 1i $ echo "s(pi)" | bc -l 0 $ echo "sin(pi())" | calc -p 0
- tartrate 12y agoSlightly shorter, and it's nice to have the expression at the end of the line: $ bc -l <<< "1+1"
- mackal 12y agoI've been using wcalc personally, haven't had many reasons to use something else.
- donpdonp 12y agowcalc 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 http://w-calc.sourceforge.net/download.php
- voltagex_ 12y agoand it's apt-gettable from wheezy upwards!
- chanux 12y agoThanks for bringing the original(?) calc to light. without really providing anything useful beyond having been written in a fashionable language The latter part of your comment sounds a bit discouraging. I think the developer didn't mean any harm an probably didn't know about this one. PS: The dev had replied in the thread. All is well I guess.
- chanux 12y agocalc package is called apcalc on dbian/ubuntu.
- hobarrera 12y agoThis developer could have at least chosen a different name. Two programs, same funcionality, same name. Haven't we learnt anything?
- alfredxing 12y agoAs I mentioned below, I chose "calc.go", but that didn't work well with the `go get` command, so I had to get rid of the ".go"