#[repr(u8)]pub enum FloatToFloatConversionNaNPropagationMode {
AlwaysCanonical = 0,
RetainMostSignificantBits = 1,
}
Expand description
select how NaN payloads are propagated in float -> float conversions
Variants§
AlwaysCanonical = 0
NaN payloads are always canonical
RetainMostSignificantBits = 1
NaN payloads are copied, zero-extending or truncating as many bits as necessary from the LSB side of the payload, retaining the most-significant bits.
Trait Implementations§
Source§impl Clone for FloatToFloatConversionNaNPropagationMode
impl Clone for FloatToFloatConversionNaNPropagationMode
Source§fn clone(&self) -> FloatToFloatConversionNaNPropagationMode
fn clone(&self) -> FloatToFloatConversionNaNPropagationMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PartialEq for FloatToFloatConversionNaNPropagationMode
impl PartialEq for FloatToFloatConversionNaNPropagationMode
Source§fn eq(&self, other: &FloatToFloatConversionNaNPropagationMode) -> bool
fn eq(&self, other: &FloatToFloatConversionNaNPropagationMode) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for FloatToFloatConversionNaNPropagationMode
impl Eq for FloatToFloatConversionNaNPropagationMode
impl StructuralPartialEq for FloatToFloatConversionNaNPropagationMode
Auto Trait Implementations§
impl Freeze for FloatToFloatConversionNaNPropagationMode
impl RefUnwindSafe for FloatToFloatConversionNaNPropagationMode
impl Send for FloatToFloatConversionNaNPropagationMode
impl Sync for FloatToFloatConversionNaNPropagationMode
impl Unpin for FloatToFloatConversionNaNPropagationMode
impl UnwindSafe for FloatToFloatConversionNaNPropagationMode
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