Struct rustc_apfloat::ieee::DoubleS
source · pub struct DoubleS;
Trait Implementations§
source§impl Semantics for DoubleS
impl Semantics for DoubleS
source§const PRECISION: usize = 53usize
const PRECISION: usize = 53usize
Number of bits in the significand. This includes the integer bit.
source§const MAX_EXP: ExpInt = 1_023i16
const MAX_EXP: ExpInt = 1_023i16
The largest E such that 2E is representable; this matches the
definition of IEEE 754. Read more
source§const MIN_EXP: ExpInt = _
const MIN_EXP: ExpInt = _
The smallest E such that 2E is a normalized number; this
matches the definition of IEEE 754. Read more
source§const QNAN_SIGNIFICAND: u128 = _
const QNAN_SIGNIFICAND: u128 = _
The significand bitpattern to mark a NaN as quiet.
NOTE: for X87DoubleExtended we need to set two bits instead of 2. Read more
fn from_bits(bits: u128) -> IeeeFloat<Self>
fn to_bits(x: IeeeFloat<Self>) -> u128
Auto Trait Implementations§
impl RefUnwindSafe for DoubleS
impl Send for DoubleS
impl Sync for DoubleS
impl Unpin for DoubleS
impl UnwindSafe for DoubleS
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