xprs 0.1.0

Xprs is a flexible and extensible mathematical expression parser and evaluator for Rust, designed for simplicity and ease of use.
Documentation
1
2
3
4
5
6
7
8
9
10
macro_rules! assert_f64_eq {
    ($left:expr, $right:expr) => {
        assert!(($left - $right).abs() < f64::EPSILON);
    };
    ($left:expr, $right:expr, $($arg:tt)+) => {
        assert!(($left - $right).abs() < f64::EPSILON, $($arg)+);
    };
}

pub(crate) use assert_f64_eq;