Struct tartan_arch::aarch64::float::RoundingMode
source · #[repr(transparent)]pub struct RoundingMode(_);
Available on AArch64 only.
Expand description
Floating-point rounding mode, as defined by IEEE 754.
Implementations§
source§impl RoundingMode
impl RoundingMode
sourcepub const PlusInfinity: Self = _
pub const PlusInfinity: Self = _
Round toward positive infinity.
sourcepub const MinusInfinity: Self = _
pub const MinusInfinity: Self = _
Round toward negative infinity.
Trait Implementations§
source§impl CEnum<u8> for RoundingMode
impl CEnum<u8> for RoundingMode
source§impl Clone for RoundingMode
impl Clone for RoundingMode
source§fn clone(&self) -> RoundingMode
fn clone(&self) -> RoundingMode
Returns a copy 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 Debug for RoundingMode
impl Debug for RoundingMode
source§impl Default for RoundingMode
impl Default for RoundingMode
source§fn default() -> RoundingMode
fn default() -> RoundingMode
Returns the “default value” for a type. Read more
source§impl From<RoundingMode> for u8
impl From<RoundingMode> for u8
source§fn from(enum_value: RoundingMode) -> Self
fn from(enum_value: RoundingMode) -> Self
Converts to this type from the input type.
source§impl From<u8> for RoundingMode
impl From<u8> for RoundingMode
source§impl Hash for RoundingMode
impl Hash for RoundingMode
source§impl Ord for RoundingMode
impl Ord for RoundingMode
source§fn cmp(&self, other: &RoundingMode) -> Ordering
fn cmp(&self, other: &RoundingMode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<RoundingMode> for RoundingMode
impl PartialEq<RoundingMode> for RoundingMode
source§fn eq(&self, other: &RoundingMode) -> bool
fn eq(&self, other: &RoundingMode) -> bool
source§impl PartialOrd<RoundingMode> for RoundingMode
impl PartialOrd<RoundingMode> for RoundingMode
source§fn partial_cmp(&self, other: &RoundingMode) -> Option<Ordering>
fn partial_cmp(&self, other: &RoundingMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more