pub struct FallbackS<F>(/* private fields */);
Trait Implementations§
Source§impl<F: Float> Semantics for FallbackS<F>
impl<F: Float> Semantics for FallbackS<F>
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.
Source§const MIN_EXP: ExpInt
const MIN_EXP: ExpInt
The smallest E such that 2^E is a normalized number; this
matches the definition of IEEE 754.
Source§const NONFINITE_BEHAVIOR: NonfiniteBehavior = NonfiniteBehavior::IEEE754
const NONFINITE_BEHAVIOR: NonfiniteBehavior = NonfiniteBehavior::IEEE754
How the nonfinite values Inf and NaN are represented.
const IEEE_MAX_EXP: ExpInt = _
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<F> Freeze for FallbackS<F>where
F: Freeze,
impl<F> RefUnwindSafe for FallbackS<F>where
F: RefUnwindSafe,
impl<F> Send for FallbackS<F>where
F: Send,
impl<F> Sync for FallbackS<F>where
F: Sync,
impl<F> Unpin for FallbackS<F>where
F: Unpin,
impl<F> UnwindSafe for FallbackS<F>where
F: UnwindSafe,
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