Trait accurate::traits::HalfUlp
[−]
[src]
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
Implementors
impl<F> HalfUlp for F where
F: Float + Ieee754,
F::Significand: Zero + Eq,