Struct rustc_apfloat::ieee::X87DoubleExtendedS
source · pub struct X87DoubleExtendedS;
Trait Implementations§
source§impl Semantics for X87DoubleExtendedS
impl Semantics for X87DoubleExtendedS
source§const QNAN_SIGNIFICAND: u128 = 13_835_058_055_282_163_712u128
const QNAN_SIGNIFICAND: u128 = 13_835_058_055_282_163_712u128
For x87 extended precision, we want to make a NaN, not a pseudo-NaN. Maybe we should expose the ability to make pseudo-NaNs?
source§fn 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.
source§const PRECISION: usize = 64usize
const PRECISION: usize = 64usize
source§const MAX_EXP: ExpInt = 16_383i16
const MAX_EXP: ExpInt = 16_383i16
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§
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