A pretty TUI scientific calculator. https://daisy.betalupi.com
 
 
 
 
 
 
Go to file
Mark dae76f3d56
Added check for negative powers
2023-06-07 15:21:36 -07:00
.github/workflows Action version 2023-04-10 16:04:50 -07:00
misc Modified banner 2023-04-02 22:06:33 -07:00
src Added check for negative powers 2023-06-07 15:21:36 -07:00
.editorconfig Edited actions 2023-04-10 14:07:04 -07:00
.gitignore Added meta files 2023-03-18 19:36:15 -07:00
Cargo.lock Version bump 2023-06-07 15:01:58 -07:00
Cargo.toml Version bump 2023-06-07 15:01:58 -07:00
LICENSE Added license 2023-03-27 10:55:20 -07:00
README.md Renamed `sec` to `secant` 2023-04-13 08:06:35 -07:00
TODO.md Minor edits 2023-05-15 10:05:46 -07:00
units.md More units 2023-04-14 11:05:25 -07:00

README.md

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.

Features

  • Extremely high precision
    • Uses a rational datatype when possible,
    • Uses a high-precision float when not.
  • Pretty printing in prompt
    • Makes expressions shorter and easier to understand
  • todo: Supports nearly all physical units
    • Accounts for units in calculations
    • 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(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