Struct rustc_apfloat::ieee::X87DoubleExtendedS
source · [−]pub struct X87DoubleExtendedS;Trait Implementations
sourceimpl Semantics for X87DoubleExtendedS
impl Semantics for X87DoubleExtendedS
sourceconst QNAN_SIGNIFICAND: u128
const QNAN_SIGNIFICAND: u128
For x87 extended precision, we want to make a NaN, not a pseudo-NaN. Maybe we should expose the ability to make pseudo-NaNs?
sourcefn from_bits(bits: u128) -> IeeeFloat<Self>
fn from_bits(bits: u128) -> IeeeFloat<Self>
Integer bit is explicit in this format. Intel hardware (387 and later) does not support these bit patterns: exponent = all 1’s, integer bit 0, significand 0 (“pseudoinfinity”) exponent = all 1’s, integer bit 0, significand nonzero (“pseudoNaN”) exponent = 0, integer bit 1 (“pseudodenormal”) exponent != 0 nor all 1’s, integer bit 0 (“unnormal”) At the moment, the first two are treated as NaNs, the second two as Normal.
sourceconst MAX_EXP: ExpInt
const MAX_EXP: ExpInt
The largest E such that 2E is representable; this matches the definition of IEEE 754. Read more
fn to_bits(x: IeeeFloat<Self>) -> u128
Auto Trait Implementations
impl RefUnwindSafe for X87DoubleExtendedS
impl Send for X87DoubleExtendedS
impl Sync for X87DoubleExtendedS
impl Unpin for X87DoubleExtendedS
impl UnwindSafe for X87DoubleExtendedS
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes