The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
3answers
321 views

How is bc different from dc?

What are the differences between dc and bc calculators? When should I use dc and when bc?
5
votes
2answers
173 views

how to add command line calculator to bash that uses comma as decimal mark?

How can I add a command line calculator to my bash? I have found some, but all of them use the full stop as decimal mark, but I want to have it to use the comma as decimal mark as most of the world ...
3
votes
1answer
44 views

Perform calculation in hex with Qalculate

I'm trying to do hex calculations, C - A, and I already changed number base to hex, but Qalculate still doesn't work.
0
votes
1answer
43 views

Where are the variables stored for mate-calc?

I know that there's no way to delete them by default in the application, but they have to be stored somewhere? I'm pretty handy with the command line, so I can do some such there. I believe that ...
2
votes
2answers
172 views

BC—automatic full precision multiplication

High, I need to test my arbitrary precision calculator, and bc seems like a nice yardstick to compare to, however, bc does truncate the result of each multiplication to what seems to be the maximum ...
2
votes
1answer
778 views

Installing Linux on the TI-nspire

I am having trouble installing Linux on my TI-nspire cx cas graphing calculator. I downloaded the files and the Linux image. I have read several websites on the topic but it was not that much help, ...
2
votes
4answers
4k views

Calculate variable, and output it to another variable

The only calculator I know is bc. I want to add 1 to a variable, and output to another variable. I got the nextnum variable from counting string in a file: nextnum=`grep -o stringtocount ...
6
votes
2answers
3k views

Does bc supports hex calculations?

I'm trying to do a hex calculation directly with bc, I already specified the scale. echo 'scale=16;c06b1000-c06a5e78' | bc But it still got me zero. What could be wrong?
5
votes
4answers
2k views

bc doesn't support log and factorial calculation?

Is there any other command line calculator that supports log, n! calculations ? At least bc can't do that, it told me parse error It's best if I could use script, e.g echo '5!' | program
102
votes
15answers
38k views

How to do integer & float calculations, in bash or other languages/frameworks?

Using echo "20+5" literally produces the text "20+5" What command can I use to get the numeric sum, e.g. 25 in this case. Also, what's the easiest way to do it just using bash for floating point, ...
2
votes
1answer
163 views

Make screenshots of Ti-calculator screen

I want to connect a TI-84 Plus Calculator to my PC and take screenshots of the calculator display. Under windows this is possible using the TI-connect software. However is there also a way to do this ...