Dc (computer program)
Appearance
From the GNU Project dc man page: 'Dc is a reverse-polish desk calculator which supports unlimited precision arithmetic'.
Unlike bc, it is based on Reverse-Polish Notation , which means it interprets mathematical statements in a stack based function.
For example to multiply four and five in dc:
4 5 * p
This translated into 'push four and five onto the stack, then with the multiplication operator, pop the stack twice, multply them and push the result back on the stack.' Then by entering p, examine (print out to the screen) the first element on the stack.
To evaluate (3^4+12)/11-22:
3 4 ^ 12 + 11 / 22 - p
See also RPN