Enum rustc_apfloat::ieee::Loss [−][src]
#[must_use]enum Loss { ExactlyZero, LessThanHalf, ExactlyHalf, MoreThanHalf, }
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
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
ExactlyZero🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
LessThanHalf🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
ExactlyHalf🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
MoreThanHalf🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Methods
impl Loss[src]
impl Lossfn combine(self, less_significant: Loss) -> Loss[src]
fn combine(self, less_significant: Loss) -> Loss🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Combine the effect of two lost fractions.
fn through_truncation(limbs: &[u128], bits: usize) -> Loss[src]
fn through_truncation(limbs: &[u128], bits: usize) -> Loss🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Return the fraction lost were a bignum truncated losing the least
significant bits bits.
Trait Implementations
impl Copy for Loss[src]
impl Copy for Lossimpl Clone for Loss[src]
impl Clone for Lossfn clone(&self) -> Loss[src]
fn clone(&self) -> LossReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl PartialEq for Loss[src]
impl PartialEq for Lossfn eq(&self, other: &Loss) -> bool[src]
fn eq(&self, other: &Loss) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Eq for Loss[src]
impl Eq for Lossfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl Debug for Loss[src]
impl Debug for Loss