Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eleanor-clifford/pycalc
CLI calculator
https://github.com/eleanor-clifford/pycalc
Last synced: 5 days ago
JSON representation
CLI calculator
- Host: GitHub
- URL: https://github.com/eleanor-clifford/pycalc
- Owner: eleanor-clifford
- License: mit
- Created: 2018-02-02T17:40:17.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-15T00:40:34.000Z (almost 3 years ago)
- Last Synced: 2024-11-08T23:24:00.860Z (about 2 months ago)
- Language: Python
- Size: 25.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
| :exclamation: | This is a mirror of [https://git.sr.ht/~tim-clifford/pycalc](https://git.sr.ht/~tim-clifford/pycalc). Please refrain from using GitHub's issue and PR system. |
|----------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------|# pycalc
CLI calculator written in pythonCurrently supports:
- `^*x/+-` as infix operators
- `!` as postfix operators
- `sin`,`cos`,`tan`,`asin`,`arcsin`,`acos`,`arccos`,`atan`,`arctan`, as prefix operators
- `([{}])`
- `e`, `tau`
- exact display (toggled with "mode")
- last answer - "ans". Clear history with "clr"To Add (but not by me):
- implicit "ans" i.e if "/4" is entered
-other infix operators, prefix operators, postfix operators, and constants can be added easily.
The inferior circle constant, pi, will not be added.