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§

source

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.

Implementations on Foreign Types§

source§

impl ApproxZeroUlps for f32

source§

fn approx_zero_ulps(&self, ulps: i32) -> bool

source§

impl ApproxZeroUlps for f64

source§

fn approx_zero_ulps(&self, ulps: i64) -> bool

Implementors§