[−][src]Enum rustc_apfloat::ieee::Loss
Enum that represents what fraction of the LSB truncated bits of an fp number represent.
This essentially combines the roles of guard and sticky bits.
Variants
Implementations
impl Loss[src]
pub(in ieee) fn combine(
self,
less_significant: Loss
) -> Loss[src]
self,
less_significant: Loss
) -> Loss
Combine the effect of two lost fractions.
pub(in ieee) fn through_truncation(
limbs: &[u128],
bits: usize
) -> Loss[src]
limbs: &[u128],
bits: usize
) -> Loss
Returns the fraction lost were a bignum truncated losing the least
significant bits bits.
Trait Implementations
impl Clone for Loss[src]
pub fn clone(&self) -> Loss[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for Loss[src]
impl Debug for Loss[src]
impl Eq for Loss[src]
impl PartialEq<Loss> for Loss[src]
pub fn eq(&self, other: &Loss) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralEq for Loss[src]
impl StructuralPartialEq for Loss[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,