pub fn float_eq(a: f64, b: f64) -> bool
Compares two floats for equality within EPSILON tolerance.
EPSILON
use wowlab_types::numeric::float_eq; assert!(float_eq(1.0, 1.0 + 1e-7)); assert!(!float_eq(1.0, 1.1));