1 2 3 4 5 6 7 8 9
pub mod linear; pub mod stats; const EPSILON: f32 = 0.00001; pub fn f32_eq(lhs: f32, rhs: f32) -> bool { // TODO: improve correctness (lhs - rhs).abs() <= EPSILON }
1 2 3 4 5 6 7 8 9
pub mod linear; pub mod stats; const EPSILON: f32 = 0.00001; pub fn f32_eq(lhs: f32, rhs: f32) -> bool { // TODO: improve correctness (lhs - rhs).abs() <= EPSILON }