eval_ex 1.1.8 copy "eval_ex: ^1.1.8" to clipboard
eval_ex: ^1.1.8 copied to clipboard

A mathematical and boolean expression evaluator, ported from https://github.com/uklimaschewski/EvalEx.

[1.1.8] - 7/31/2023 #

Bumping decimal version to 2.3.3 and allowing for case sensitive functions, operators, and variables.

[1.1.7] - 9/20/2022 #

Bumping decimal version to 2.3.0 (fixes power function builtin error)

[1.1.6] - 2/19/2022 #

More static analysis issues fixed.

[1.1.5] - 2/19/2022 #

Fixed some static analysis issues, switching to Dart unit test library.

[1.1.4] - 2/19/2022 #

Completely removed Flutter dependency except for dev unit tests.

[1.1.3] - 2/19/2022 #

Removed dependency on Flutter, fixed file formatting.

[1.1.2] - 2/16/2022 #

Switched to Decimal 2.1.0

[1.1.1] - 2/11/2022 #

Bumped decimal dependency to latest version

[1.1.0] - 7/5/2021 #

Switched to null safety and updated dependencies. Added support for suffix/postfix operators from commit: https://github.com/uklimaschewski/EvalEx/commit/ac55e57426f698bbe8fd966294796d83a4f27d31 as well as a bug fix for string variables from commit: https://github.com/uklimaschewski/EvalEx/commit/cb66e7065325e1117371e6aad1cd7955088dd33d.

[1.0.12] - 12/29/2020 #

Fixing static analysis issues introduced in latest Flutter releases

[1.0.11] - 12/29/2020 #

Fixing static analysis issues introduced in latest Flutter releases

[1.0.10] - 11/16/2020 #

Fixed formatting

[1.0.9] - 11/16/2020 #

Bug fixes to ">" and "<" operators.

[1.0.8] - 9/15/2020 #

Added STREQ function

[1.0.7] - 9/15/2020 #

Made error text more consistent for "^"

[1.0.6] - 9/15/2020 #

Typo spelling fix

[1.0.5] - 9/15/2020 #

Typo spelling fix

[1.0.4] - 9/15/2020 #

Switch assert errors for safeguards for "^" and "FACT" to ExpressionExceptions

[1.0.3] - 9/15/2020 #

Added safeguards for "^" and "FACT" on really large numbers so they don't kill evaluation performance.

[1.0.2] - 9/15/2020 #

Fixed formatting

[1.0.1] - 9/15/2020 #

Added examples and fixed formatting.

[1.0.0] - 9/15/2020 #

Initial port of https://github.com/uklimaschewski/EvalEx.
Differences in implementation currently:

  • Hyperbolic functions aren't supported
  • The SQRT function is currently limited to 64-bit precision
  • Built in operators/functions/variables are instead defined in built_ins.dart
  • Precision is handled slightly differently (no math context)
25
likes
130
pub points
88%
popularity

Publisher

unverified uploader

A mathematical and boolean expression evaluator, ported from https://github.com/uklimaschewski/EvalEx.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

decimal

More

Packages that depend on eval_ex