DC, An Arbitrary Precision Calculator DC, An Arbitrary Precision Calculator Introduction DC is a reverse-polish desk calculator which supports unlimited precision arithmetic. It also allows you to define and call macros.
All output is to standard output.
A reverse-polish calculator stores numbers on a stack. Entering a number pushes it on the stack. Arithmetic operations pop arguments off the stack and push the results. To enter a number in DC, type the digits, with an optional decimal point. Exponential notation is not supported.