| Name | Description | Size | Visibility | ||
|---|---|---|---|---|---|
|
A simple RPN calculator (V0.3). Supports pi, e, rnd, !, *, +, -, /, acos, asin, atan, cos, deg, log, log10, pow, rad, recip, sin, sqr, sqrt and tan. Type ? for a list of operators, clr to clear the stack, swap to swap the two most recent stack items, roll to roll the stack, drop to drop the last stack item, and q to quit.
Example:
> 3 sqr 4 sqr + 5 sqr - 2 3 * 4 * / acos deg
[90.0]
> 4 sqr 5 sqr + 3 sqr - 2 4 * 5 * / acos deg
[90.0, 36.86989764584401]
> 5 sqr 3 sqr + 4 sqr - 2 5 * 3 * / acos deg
[90.0, 36.86989764584401, 53.13010235415599]
> +
[90.0, 90.0]
> +
[180.0]
|
2.16 KB | Public |
|
||
|
More powerful version of the RPN code in development, treat as unstable expect to use most of your available program memory. Additions over the simple RPN version are; str and rcl for storing and recalling a memory value; auto for standard format numbers; fix for setting fixed decimal notation (push a number to the stack first for the number of places, i.e. 2 fix for rounding to two decimal places); eng for engineering notation (where the exponent is in powers of a thousand); si for displaying International System units (G, M, k, m, u, n, etc).
|
2.7 KB | Public |
|