Rpn

From icesus
Revision as of 16:19, 8 June 2019 by Cyto (talk | contribs) (Created page with "<pre> This is reverse polish notation calculator. Usage: rpn [number | operator ...] Example1 'rpn 2 3 +' will add 2 and 3. (2+3) Example2 'rpn 2 3 4 + *' will add 3 a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is reverse polish notation calculator.
Usage:     rpn [number | operator ...]
Example1   'rpn 2 3 +' will add 2 and 3. (2+3)
Example2   'rpn 2 3 4 + *' will add 3 and 4 and multiply with 2. (3+4)*2

Operators: / ^ % - + *
Functions: sqrt log random cos negate tan acos sin exp atan asin
Constants: e pi EUR
All angles are in radians.