fasteval
fasteval copied to clipboard
Fast and safe evaluation of algebraic expressions
Right now, `fasteval` only supports f64. I'd also like to support these other modes: * f32 * Complex Numbers * Rational Numbers * Arbitrary Precision Numbers * Big Integers +...
Hi, @likebike! There is an issue with parsing following case: `my_func(my_var)`. `my_var` didn't appear among `.var_names()` return. Not sure if it has been done intentionally or by accident but here...
Hi, I am porting Debian package to riscv64 arch. Here is basic buildd info of rust-fastval in Debian: https://buildd.debian.org/status/package.php?p=rust-fasteval Now the buildd log on riscv64: https://buildd.debian.org/status/fetch.php?pkg=rust-fasteval&arch=riscv64&ver=0.2.4-1&stamp=1650289636&raw=0 And the log is...
False negative in the test, nbd
I'm trying to build the crate, and one of the tests fail: ``` ---- aaa_test_b0 stdout ---- thread 'aaa_test_b0' panicked at 'assertion failed: `(left == right)` left: `Ok(ExpressionI(0))`, right: `Err(ParseF64("4.999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999"))`',...
Option-style features are only relevant when building the library itself off its directory. As a dependency, you need to set `default-features = ` and `features = [`
Hello! I have two problems with expressions. 1. Library did not recognize booleans. 2. The function - `ez_eval()` returns an incorrect value. The correct value is 2. @lnicola @likebike Can...
It might not be good to allow anybody who can eval expressions to print to console. I would like a way to do this in fasteval rather than checking for...
Hi, thanks for the great crate! I want to return a `Result` with my error type in the `lookup` function in the `EvalNamespace` object. For example, there can be recursion...