[go: up one dir, main page]

[][src]Trait accurate::util::traits::HalfUlp

pub trait HalfUlp {
    fn has_half_ulp_form(self) -> bool;
fn half_ulp(self) -> Self; }

Half a unit in the last place (ULP)

Required methods

fn has_half_ulp_form(self) -> bool

Check whether something has the form of half a ULP

fn half_ulp(self) -> Self

Calculate half a ULP of a number

Loading content...

Implementors

impl<F> HalfUlp for F where
    F: Float + Ieee754,
    F::Significand: Zero + Eq
[src]

Loading content...