math_evaluator 0.3.7 copy "math_evaluator: ^0.3.7" to clipboard
math_evaluator: ^0.3.7 copied to clipboard

outdatedDart 1 only

A library for parsing and evaluating simple math expressions.

math_evaluator #

An interpreter for math expressions. Supports real and complex numbers.

Note: This library is still in an early state, the test coverage is not perfect, the performance is not optimized and some features are still unimplemented.

Usage #

var result = evaluate("1+sin(π/2)");
print(result); // prints "2"

TODO #

  • Supporting complex numbers.
  • Increase test coverage and stability.
0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A library for parsing and evaluating simple math expressions.

Repository (GitHub)
View/report issues

License

GPL-3.0 (LICENSE)

More

Packages that depend on math_evaluator