fkleon / math-expressions

A library for parsing and evaluating mathematical expressions, supporting real numbers, vectors, and basic interval arithmetic.
https://pub.dev/packages/math_expressions
MIT License
100 stars 35 forks source link

Lower precedence of unary minus #44

Closed fkleon closed 3 years ago

fkleon commented 3 years ago

To parse -x^y as -(x^y) instead of (-x)^y as per common mathematics conventions. Fixes #41