Function near

Source
fn near(a: f64, b: f64, tol: f64) -> bool