Struct rustc_apfloat::ieee::HalfS
source · [−]pub struct HalfS;Trait Implementations
sourceimpl Semantics for HalfS
impl Semantics for HalfS
sourceconst MAX_EXP: ExpInt
const MAX_EXP: ExpInt
The largest E such that 2E is representable; this matches the definition of IEEE 754. Read more
sourceconst 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
sourceconst 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 HalfS
impl Send for HalfS
impl Sync for HalfS
impl Unpin for HalfS
impl UnwindSafe for HalfS
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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