https://github.com/bendudson/rpcalc
Simple Reverse Polish calculator in Haskell
https://github.com/bendudson/rpcalc
Last synced: about 1 year ago
JSON representation
Simple Reverse Polish calculator in Haskell
- Host: GitHub
- URL: https://github.com/bendudson/rpcalc
- Owner: bendudson
- Created: 2011-10-27T15:29:02.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-10-27T15:29:20.000Z (over 14 years ago)
- Last Synced: 2025-01-10T13:26:51.284Z (over 1 year ago)
- Language: Haskell
- Homepage:
- Size: 85.9 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
A simple Reverse-Polish calculator in Haskell
Ben Dudson, 2010
Commands:
q Quit
? Print this help
d Delete the first number
r Reverse the first two numbers (below single dash)
R Reverse entire stack
Numbers operated on from bottom to top. Those below single
dashed line will be operated on next.
Values: pi, e
Single-argument functions: sin, cos, tan, asin, acos, atan, exp, log
Two-argument functions: +, -, *, /, ^, atan2