[−][src]Enum simple_soft_float::TernaryNaNPropagationMode
Select how NaN payloads should be propagated
Variants
NaN payloads are always canonical
If the first argument is a NaN, then the result uses the first argument's payload, else if the second argument is a NaN, then the result uses the second argument's payload, else if the third argument is a NaN, then the result uses the third argument's payload, else the result is the canonical NaN.
If the first argument is a NaN, then the result uses the first argument's payload, else if the third argument is a NaN, then the result uses the third argument's payload, else if the second argument is a NaN, then the result uses the second argument's payload, else the result is the canonical NaN.
If the second argument is a NaN, then the result uses the second argument's payload, else if the first argument is a NaN, then the result uses the first argument's payload, else if the third argument is a NaN, then the result uses the third argument's payload, else the result is the canonical NaN.
If the second argument is a NaN, then the result uses the second argument's payload, else if the third argument is a NaN, then the result uses the third argument's payload, else if the first argument is a NaN, then the result uses the first argument's payload, else the result is the canonical NaN.
If the third argument is a NaN, then the result uses the third argument's payload, else if the first argument is a NaN, then the result uses the first argument's payload, else if the second argument is a NaN, then the result uses the second argument's payload, else the result is the canonical NaN.
If the third argument is a NaN, then the result uses the third argument's payload, else if the second argument is a NaN, then the result uses the second argument's payload, else if the first argument is a NaN, then the result uses the first argument's payload, else the result is the canonical NaN.
If the first argument is a signaling NaN, then the result uses the first argument's payload, else if the second argument is a signaling NaN, then the result uses the second argument's payload, else if the third argument is a signaling NaN, then the result uses the third argument's payload, else if the first argument is a NaN, then the result uses the first argument's payload, else if the second argument is a NaN, then the result uses the second argument's payload, else if the third argument is a NaN, then the result uses the third argument's payload, else the result is the canonical NaN.
If the first argument is a signaling NaN, then the result uses the first argument's payload, else if the third argument is a signaling NaN, then the result uses the third argument's payload, else if the second argument is a signaling NaN, then the result uses the second argument's payload, else if the first argument is a NaN, then the result uses the first argument's payload, else if the third argument is a NaN, then the result uses the third argument's payload, else if the second argument is a NaN, then the result uses the second argument's payload, else the result is the canonical NaN.
If the second argument is a signaling NaN, then the result uses the second argument's payload, else if the first argument is a signaling NaN, then the result uses the first argument's payload, else if the third argument is a signaling NaN, then the result uses the third argument's payload, else if the second argument is a NaN, then the result uses the second argument's payload, else if the first argument is a NaN, then the result uses the first argument's payload, else if the third argument is a NaN, then the result uses the third argument's payload, else the result is the canonical NaN.
If the second argument is a signaling NaN, then the result uses the second argument's payload, else if the third argument is a signaling NaN, then the result uses the third argument's payload, else if the first argument is a signaling NaN, then the result uses the first argument's payload, else if the second argument is a NaN, then the result uses the second argument's payload, else if the third argument is a NaN, then the result uses the third argument's payload, else if the first argument is a NaN, then the result uses the first argument's payload, else the result is the canonical NaN.
If the third argument is a signaling NaN, then the result uses the third argument's payload, else if the first argument is a signaling NaN, then the result uses the first argument's payload, else if the second argument is a signaling NaN, then the result uses the second argument's payload, else if the third argument is a NaN, then the result uses the third argument's payload, else if the first argument is a NaN, then the result uses the first argument's payload, else if the second argument is a NaN, then the result uses the second argument's payload, else the result is the canonical NaN.
If the third argument is a signaling NaN, then the result uses the third argument's payload, else if the second argument is a signaling NaN, then the result uses the second argument's payload, else if the first argument is a signaling NaN, then the result uses the first argument's payload, else if the third argument is a NaN, then the result uses the third argument's payload, else if the second argument is a NaN, then the result uses the second argument's payload, else if the first argument is a NaN, then the result uses the first argument's payload, else the result is the canonical NaN.
Methods
impl TernaryNaNPropagationMode
[src]
pub fn calculate_propagation_results(
self,
first_class: FloatClass,
second_class: FloatClass,
third_class: FloatClass
) -> TernaryNaNPropagationResults
[src]
self,
first_class: FloatClass,
second_class: FloatClass,
third_class: FloatClass
) -> TernaryNaNPropagationResults
calculate the result of NaN propagation for a floating-point operation
Trait Implementations
impl Clone for TernaryNaNPropagationMode
[src]
fn clone(&self) -> TernaryNaNPropagationMode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for TernaryNaNPropagationMode
[src]
impl Debug for TernaryNaNPropagationMode
[src]
impl Default for TernaryNaNPropagationMode
[src]
impl Eq for TernaryNaNPropagationMode
[src]
impl From<TernaryNaNPropagationMode> for BinaryNaNPropagationMode
[src]
fn from(v: TernaryNaNPropagationMode) -> Self
[src]
impl Hash for TernaryNaNPropagationMode
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<TernaryNaNPropagationMode> for TernaryNaNPropagationMode
[src]
fn eq(&self, other: &TernaryNaNPropagationMode) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for TernaryNaNPropagationMode
[src]
impl StructuralPartialEq for TernaryNaNPropagationMode
[src]
Auto Trait Implementations
impl RefUnwindSafe for TernaryNaNPropagationMode
impl Send for TernaryNaNPropagationMode
impl Sync for TernaryNaNPropagationMode
impl Unpin for TernaryNaNPropagationMode
impl UnwindSafe for TernaryNaNPropagationMode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,