shithub: rpn

ref: e062038db3825e8355e2c4ae6413f88eb816e58b
dir: /README/

View raw version
This is an rpn calculator with basic trigonometric functions.  It runs
in the terminal, which acts like a ticker tape of the state of the
calculations througout the session.

There is a four position stack as in HP RPN calculators, labeled x, y,
z, t from bottom to top.  Trigonometric functions act on x, and
algebraic functions act on y and x.  It should be familiar to users of
RPN calculators.

Entering pi loads the constant pi into x.

There are also exponentiation and logarithmic functions.

Enter r to roll, which drops the stack and puts x into t.

Enter d to drop, which drops the bottom value off the stack and
duplicates t into z.

Enter x to swap x and y on the stack.

Hitting enter will re-enter the last x value.

To exit, enter q, to clear the stack to all zeros, enter cls.