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