Struct rustc_apfloat::ieee::HalfS

source ·
pub struct HalfS;

Trait Implementations§

Total number of bits in the in-memory format.
Number of bits in the significand. This includes the integer bit.
The largest E such that 2E is representable; this matches the definition of IEEE 754. Read more
The smallest E such that 2E is a normalized number; this matches the definition of IEEE 754. Read more
The significand bit that marks NaN as quiet.
The significand bitpattern to mark a NaN as quiet. NOTE: for X87DoubleExtended we need to set two bits instead of 2. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.

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