dc is an arbitrary precision calculator which reads instructions from standard input or files.
A reverse-polish calculator stores numbers on a stack. Entering a number pushes it on the stack. Arithmetic operations pop 1 to 3 arguments off the stack, depending on the operation, and push the results back onto the stack.
Links
See also
- bc (An arbitrary precision calculator)