[][src]Enum simple_soft_float::QuietNaNFormat

#[repr(u8)]
pub enum QuietNaNFormat {
    Standard,
    MIPSLegacy,
}

the format for quiet NaN values

IEEE 754 states that implementations should use the MSB of the mantissa being set to indicate a quiet NaN, however MIPS before the 2008 revision and PA-RISC use the MSB of the mantissa being clear to indicate a quiet NaN.

Variants

Standard

MSB of mantissa set to indicate quiet NaN

MIPSLegacy

MSB of mantissa clear to indicate quiet NaN; also used in PA-RISC

Methods

impl QuietNaNFormat[src]

pub fn is_nan_quiet(self, mantissa_msb_set: bool) -> bool[src]

returns true if a NaN with the mantissa MSB set to mantissa_msb_set is a quiet NaN

Trait Implementations

impl Clone for QuietNaNFormat[src]

impl Copy for QuietNaNFormat[src]

impl Debug for QuietNaNFormat[src]

impl Default for QuietNaNFormat[src]

impl Eq for QuietNaNFormat[src]

impl Hash for QuietNaNFormat[src]

impl PartialEq<QuietNaNFormat> for QuietNaNFormat[src]

impl StructuralEq for QuietNaNFormat[src]

impl StructuralPartialEq for QuietNaNFormat[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

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.