bc a decent linux calculator

Results from calculations in some proprietary flavours of bc have up to 99 decimal digits before and after the decimal point. This limit has been greatly surpassed in GNU bc. I don't know what that limit is, but it's at least many, many tens of thousands. Certainly it's more than any GUI-based calculators (I've used) could accomodate.

Pretty much every linux distribution ever ships bc. It's a pretty small/light console based calculator. It's actually quite powerful and simple to use. I found a good article that explains how to use it for your everyday math.
Leave A Reply - 1 Reply
David Edwards 2006-11-27 09:15pm - dave@... - Logged IP:

With every calculator post you make, I must try the one great equation on them:

[dave@killertofu ~]$ bc bc 1.06 Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. 2^1024 17976931348623159077293051907890247336179769789423065727343008115773\ 26758055009631327084773224075360211201138798713933576587897688144166\ 22492847430639474124377767893424865485276302219601246094119453082952\ 08500576883815068234246288147391311054082723716335051068458629823994\ 7245938479716304835356329624224137216

All content licensed under the Creative Commons License