unitforge 0.4.0

A library for unit and quantity consistent computations in Rust
Documentation
1
2
3
pub fn approx_eq(a: f64, b: f64, epsilon: f64) -> bool {
    (a - b).abs() < epsilon
}