is_zero_approx

Function is_zero_approx 

Source
pub fn is_zero_approx(s: f32) -> bool
Expand description

Returns true if s is zero or almost zero.

This method is faster than using is_equal_approx with one value as zero.