dc

Usage: dc [EXPRESSION]

This is a Tiny RPN calculator that understands the following operations: +, -, /, *, and, or, not, eor. If no arguments are given, dc will process input from stdin.

The behaviour of BusyBox/dc deviates (just a little ;-) from GNU/dc, but this will be remedied in the future.

Example:

			$ dc 2 2 +
			4
			$ dc 8 8 \* 2 2 + /
			16
			$ dc 0 1 and
			0
			$ dc 0 1 or
			1
			$ echo 72 9 div 8 mul | dc
			64