Trait usvg_tree::ApproxZeroUlps
source · pub trait ApproxZeroUlps: ApproxEqUlps {
// Required method
fn approx_zero_ulps(&self, ulps: <Self::Flt as Ulps>::U) -> bool;
}
Expand description
Approximate zero equality comparisons.
Required Methods§
sourcefn approx_zero_ulps(&self, ulps: <Self::Flt as Ulps>::U) -> bool
fn approx_zero_ulps(&self, ulps: <Self::Flt as Ulps>::U) -> bool
Checks if the number is approximately zero.
Object Safety§
This trait is not object safe.