mirror of https://github.com/rm-dr/daisy
Updated README
parent
debe4fe89c
commit
01ad63d794
46
README.md
46
README.md
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
A high-precision scientific calculator with support for units, derivatives, and more.
|
A high-precision scientific calculator with support for units, derivatives, and more.
|
||||||
|
|
||||||
**todo:** ~~Try the [web version!]()~~
|
|
||||||
|
|
||||||
Many features are missing, this is still under development.
|
Many features are missing, this is still under development.
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,44 +11,6 @@ Many features are missing, this is still under development.
|
||||||
- Uses a high-precision float when not.
|
- Uses a high-precision float when not.
|
||||||
- Pretty printing in prompt
|
- Pretty printing in prompt
|
||||||
- Makes expressions shorter and easier to understand
|
- Makes expressions shorter and easier to understand
|
||||||
- **todo:** ~~Supports nearly all physical units~~
|
- Supports nearly all physical units
|
||||||
- ~~Accounts for units in calculations~~
|
- Accounts for units in calculations
|
||||||
- ~~Explicit conversion operator `->` or `to`~~
|
- Explicit conversion operator `->` or `to`
|
||||||
- **todo:** ~~Variable and function definitions~~
|
|
||||||
- **todo:** ~~Easy history recall~~
|
|
||||||
- **todo:** ~~Sums and products~~
|
|
||||||
|
|
||||||
|
|
||||||
# Reference
|
|
||||||
|
|
||||||
## **Operators, sorted by priority (high to low)**
|
|
||||||
|
|
||||||
| Operator | Syntax |
|
|
||||||
|---------------------------|----------------------|
|
|
||||||
| function application | `sin`, `cos`, etc |
|
|
||||||
| factorial | `!` |
|
|
||||||
| powers | `^`, `**` |
|
|
||||||
| implicit multiplication | `3π`, `3(2+1)`, etc |
|
|
||||||
| square root | `sqrt`, `rt`, `√` |
|
|
||||||
| negation | `-3`, `-(1 + 2)` |
|
|
||||||
| modulo (short) | `%` |
|
|
||||||
| multiplication, division | `*`, `/`, `×`, `÷` |
|
|
||||||
| addition, subtraction | `+`, `-` |
|
|
||||||
| modulo (long) | `mod` |
|
|
||||||
|
|
||||||
Note that implicit multiplication has a higher priority than mulitiplication and division.
|
|
||||||
|
|
||||||
## **Functions**
|
|
||||||
|
|
||||||
| Function | Syntax |
|
|
||||||
|---------------------------|-----------------------------|
|
|
||||||
| Absolute Value | `abs` |
|
|
||||||
| Floor, Ceiling, Round | `floor`, `ceil`, `round` |
|
|
||||||
| Logarithm (base e) | `ln` |
|
|
||||||
| Logarithm (base 10) | `log` |
|
|
||||||
| sin, arcsin, cosecant | `sin`, `asin`, `csc` |
|
|
||||||
| cos, arccos, secant | `cos`, `acos`, `secant` |
|
|
||||||
| tan, arctan, cotan | `tan`, `atan`, `cot` |
|
|
||||||
| hyperbolic sin, etc | `sinh`, `asinh`, `csch` |
|
|
||||||
| hyperbolic cos, etc | `cosh`, `acosh`, `sech` |
|
|
||||||
| hyperbolic tan, etc | `tanh`, `atanh`, `coth` |
|
|
Loading…
Reference in New Issue