Skip to main content

approx

Function approx 

Source
pub fn approx<T: Float, V: FloatOps<T>>(a: V, b: V, eps: T) -> bool
Expand description

returns true if value a is approximately equal to value b within the specified epsilon eps