pub struct QuadS;Expand description
Floating point semantics for Quad.
See that type for more details.
Trait Implementations§
Source§impl Semantics for QuadS
impl Semantics for QuadS
Source§const NONFINITE_BEHAVIOR: NonfiniteBehavior = NonfiniteBehavior::IEEE754
const NONFINITE_BEHAVIOR: NonfiniteBehavior = NonfiniteBehavior::IEEE754
How the nonfinite values Inf and NaN are represented.
Source§const MAX_EXP: ExpInt = _
const MAX_EXP: ExpInt = _
The largest E such that 2^E is representable; this matches the
definition of IEEE 754.
const IEEE_MAX_EXP: ExpInt = _
Source§const MIN_EXP: ExpInt = Self::IEEE_MIN_EXP
const MIN_EXP: ExpInt = Self::IEEE_MIN_EXP
The smallest E such that 2^E is a normalized number; this
matches the definition of IEEE 754.
const IEEE_MIN_EXP: ExpInt = _
Source§const NAN_SIGNIFICAND_BASE: u128 = _
const NAN_SIGNIFICAND_BASE: u128 = _
The base significand bitpattern of NaNs, i.e. the bits that must always
be set in all NaNs, with other significand bits being either used for
payload bits (if
NAN_PAYLOAD_MASK covers them) or always unset.Source§const NAN_PAYLOAD_MASK: u128 = _
const NAN_PAYLOAD_MASK: u128 = _
The significand bitmask for the payload of a NaN (if supported),
including the “quiet bit” (telling QNaNs apart from SNaNs).
Source§const QNAN_SIGNIFICAND: u128 = _
const QNAN_SIGNIFICAND: u128 = _
The significand bitpattern to mark a NaN as quiet (if supported). Read more
fn from_bits(bits: u128) -> IeeeFloat<Self>
fn to_bits(x: IeeeFloat<Self>) -> u128
Auto Trait Implementations§
impl Freeze for QuadS
impl RefUnwindSafe for QuadS
impl Send for QuadS
impl Sync for QuadS
impl Unpin for QuadS
impl UnwindSafe for QuadS
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more