Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eleanor-clifford/pycalc

CLI calculator
https://github.com/eleanor-clifford/pycalc

Last synced: 5 days ago
JSON representation

CLI calculator

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 python

Currently 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.