pub trait FuzzyZero {
fn is_fuzzy_zero(&self) -> bool;
}
Expand description
A trait for fuzzy/approximate comparisons of f64
numbers.
Required Methods
sourcefn is_fuzzy_zero(&self) -> bool
fn is_fuzzy_zero(&self) -> bool
Returns true
if the number is approximately zero.