Trait mini_math::NearlyEqual
source · [−]pub trait NearlyEqual {
fn nearly_equals(self, rhs: Self) -> bool;
}
Expand description
Compare floating-point values using an epsilon
pub trait NearlyEqual {
fn nearly_equals(self, rhs: Self) -> bool;
}
Compare floating-point values using an epsilon