Struct rustc_apfloat::ieee::X87DoubleExtendedS[−][src]

pub struct X87DoubleExtendedS;

Trait Implementations

impl Semantics for X87DoubleExtendedS[src]

const QNAN_SIGNIFICAND: u128[src]

For x87 extended precision, we want to make a NaN, not a pseudo-NaN. Maybe we should expose the ability to make pseudo-NaNs?

fn from_bits(bits: u128) -> IeeeFloat<Self>[src]

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.

const BITS: usize[src]

Total number of bits in the in-memory format.

const PRECISION: usize[src]

Number of bits in the significand. This includes the integer bit.

const MAX_EXP: ExpInt[src]

The largest E such that 2E is representable; this matches the definition of IEEE 754. Read more

fn to_bits(x: IeeeFloat<Self>) -> u128[src]

const MIN_EXP: ExpInt[src]

The smallest E such that 2E is a normalized number; this matches the definition of IEEE 754. Read more

const QNAN_BIT: usize[src]

The significand bit that marks NaN as quiet.

Auto Trait Implementations

impl Send for X87DoubleExtendedS

impl Sync for X87DoubleExtendedS

impl Unpin for X87DoubleExtendedS

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

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]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.