Skip to main content

approx_eq_ulps

Function approx_eq_ulps 

Source
pub fn approx_eq_ulps(a: f64, b: f64, max_ulps: u64) -> bool
Expand description

Whether a and b differ by at most max_ulps representable values.