An RPN calculator with a simple terminal interface
Commands:
Pop off the stack: "pop", "p", "."
Swap: "swap", "s", ","
Push memory value to stack: "recall", "r", "]"
Set memory value: "store", "S", "["
Clear the stack: "clear", "c", ";"
Switch between degrees and radians: "angle", "a", "<"
+
-
*
/
%
^
square
cube
sqrt
log
ln
logb
root
flip
sin
cos
tan
asin
acos
atan
fact
Key bindings:
ESC: Exit
To do:
- Big Nums (not of much use to me, although I would like to add them at some point the future)
Built using Go version 1.16+