[−][src]Struct simple_soft_float::PlatformProperties
properties of a floating-point implementation
Fields
canonical_nan_sign: Sign
sign of the canonical NaN
canonical_nan_mantissa_msb: bool
most-significant-bit of the mantissa of the canonical NaN
canonical_nan_mantissa_second_to_msb: bool
second-most-significant-bit of the mantissa of the canonical NaN
canonical_nan_mantissa_rest: bool
rest of the bits of the mantissa of the canonical NaN
std_bin_ops_nan_propagation_mode: BinaryNaNPropagationMode
NaN payload propagation mode for the standard binary operations
fma_nan_propagation_mode: TernaryNaNPropagationMode
NaN payload propagation mode for fused_mul_add
fma_inf_zero_qnan_result: FMAInfZeroQNaNResult
the result of fused_mul_add
for (Infinity * 0.0) + QNaN
and
(0.0 * Infinity) + QNaN
round_to_integral_nan_propagation_mode: UnaryNaNPropagationMode
NaN payload propagation mode for round_to_integral
next_up_or_down_nan_propagation_mode: UnaryNaNPropagationMode
NaN payload propagation mode for next_up_or_down
, next_up
, and next_down
scale_b_nan_propagation_mode: UnaryNaNPropagationMode
NaN payload propagation mode for scale_b
sqrt_nan_propagation_mode: UnaryNaNPropagationMode
NaN payload propagation mode for sqrt
float_to_float_conversion_nan_propagation_mode: FloatToFloatConversionNaNPropagationMode
NaN payload propagation mode for float-to-float conversions
rsqrt_nan_propagation_mode: UnaryNaNPropagationMode
NaN payload propagation mode for rsqrt
Methods
impl PlatformProperties
[src]
pub const ARM: PlatformProperties
[src]
ARM 32-bit platform properties
pub const RISC_V: PlatformProperties
[src]
RISC-V platform properties
pub const POWER: PlatformProperties
[src]
Power ISA platform properties
pub const MIPS_2008: PlatformProperties
[src]
MIPS 2008 revision platform properties
pub const X86_SSE: PlatformProperties
[src]
x86 SSE/AVX platform properties
pub const SPARC: PlatformProperties
[src]
Sparc platform properties
pub const HPPA: PlatformProperties
[src]
HPPA platform properties
pub const MIPS_LEGACY: PlatformProperties
[src]
MIPS pre-2008 revision platform properties
impl PlatformProperties
[src]
pub const fn new_simple(
canonical_nan_sign: Sign,
canonical_nan_mantissa_msb: bool,
canonical_nan_mantissa_second_to_msb: bool,
canonical_nan_mantissa_rest: bool,
unary_nan_propagation_mode: UnaryNaNPropagationMode,
binary_nan_propagation_mode: BinaryNaNPropagationMode,
ternary_nan_propagation_mode: TernaryNaNPropagationMode,
fma_inf_zero_qnan_result: FMAInfZeroQNaNResult,
float_to_float_conversion_nan_propagation_mode: FloatToFloatConversionNaNPropagationMode
) -> Self
[src]
canonical_nan_sign: Sign,
canonical_nan_mantissa_msb: bool,
canonical_nan_mantissa_second_to_msb: bool,
canonical_nan_mantissa_rest: bool,
unary_nan_propagation_mode: UnaryNaNPropagationMode,
binary_nan_propagation_mode: BinaryNaNPropagationMode,
ternary_nan_propagation_mode: TernaryNaNPropagationMode,
fma_inf_zero_qnan_result: FMAInfZeroQNaNResult,
float_to_float_conversion_nan_propagation_mode: FloatToFloatConversionNaNPropagationMode
) -> Self
create PlatformProperties
pub const fn default() -> Self
[src]
default PlatformProperties
.
currently returns RISC_V
pub fn quiet_nan_format(self) -> QuietNaNFormat
[src]
get the QuietNaNFormat
Trait Implementations
impl Clone for PlatformProperties
[src]
fn clone(&self) -> PlatformProperties
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PlatformProperties
[src]
impl Debug for PlatformProperties
[src]
impl Default for PlatformProperties
[src]
fn default() -> PlatformProperties
[src]
impl Eq for PlatformProperties
[src]
impl Hash for PlatformProperties
[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<PlatformProperties> for PlatformProperties
[src]
fn eq(&self, other: &PlatformProperties) -> bool
[src]
fn ne(&self, other: &PlatformProperties) -> bool
[src]
impl StructuralEq for PlatformProperties
[src]
impl StructuralPartialEq for PlatformProperties
[src]
Auto Trait Implementations
impl RefUnwindSafe for PlatformProperties
impl Send for PlatformProperties
impl Sync for PlatformProperties
impl Unpin for PlatformProperties
impl UnwindSafe for PlatformProperties
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>,