#calc #calculator #i64 #order #kalc

bin+lib kalc-kman

Is a calculator for math

1 unstable release

0.1.4 Jul 13, 2023

#1302 in Math

MPL-2.0 license

25KB
703 lines

Kalc

Crates.io

Is a simple calculator! I can be used where we have an number input for an user and the user can put a formula, but the app only gets a i64 or a f64 and if has a error you can display an error at the user, but errors are english only!

Only supports:

  • Addition +
  • Substraction -
  • Multiplication *
  • Division /
  • Sin sin()
  • Cos cos()
  • Pow pow()
  • Sqrt sqrt()

And groups like: 2 * (2 - 1) = 2

And 2 (3) = 6

And sin(1) = 0.8414709848078965

And sqrt(pow(2, 4)) = 4

But +,-,*,/ are not in the math order for now!

No runtime deps

Features