Function almost_eq

Source
pub fn almost_eq(val1: f64, val2: f64, epsilon: Option<f64>) -> bool
Expand description

Returns true if val1 and val2 are within a relative/absolute epsilon of each other, depending on magnitude.