pub trait FuzzyEq<Rhs: ?Sized = Self> {
    fn fuzzy_eq(&self, other: &Rhs) -> bool;

    fn fuzzy_ne(&self, other: &Rhs) -> bool { ... }
}
Expand description

A trait for fuzzy/approximate equality comparisons of float numbers.

Required Methods

Returns true if values are approximately equal.

Provided Methods

Returns true if values are not approximately equal.

Implementations on Foreign Types

Implementors