[][src]Struct simple_soft_float::FPState

pub struct FPState {
    pub rounding_mode: RoundingMode,
    pub status_flags: StatusFlags,
    pub exception_handling_mode: ExceptionHandlingMode,
    pub tininess_detection_mode: TininessDetectionMode,
    // some fields omitted
}

The dynamic state of a floating-point implementation

Fields

rounding_mode: RoundingMode

the dynamic rounding mode -- used whenever the rounding mode is not explicitly overridden

status_flags: StatusFlags

the cumulative exception status flags

exception_handling_mode: ExceptionHandlingMode

the exception handling mode

tininess_detection_mode: TininessDetectionMode

the tininess detection mode

Methods

impl FPState[src]

pub fn checked_merge_assign(
    &mut self,
    rhs: Self
) -> Result<(), FPStateMergeFailed>
[src]

combine two FPState values into one, assigning the result to self

pub fn merge_assign(&mut self, rhs: Self)[src]

combine two FPState values into one, assigning the result to self

pub fn checked_merge(self, rhs: Self) -> Result<Self, FPStateMergeFailed>[src]

combine two FPState values into one, returning the result

pub fn merge(self, rhs: Self) -> Self[src]

combine two FPState values into one, returning the result

Trait Implementations

impl Clone for FPState[src]

impl Copy for FPState[src]

impl Debug for FPState[src]

impl Default for FPState[src]

impl Eq for FPState[src]

impl Hash for FPState[src]

impl PartialEq<FPState> for FPState[src]

impl StructuralEq for FPState[src]

impl StructuralPartialEq for FPState[src]

Auto Trait Implementations

impl RefUnwindSafe for FPState

impl Send for FPState

impl Sync for FPState

impl Unpin for FPState

impl UnwindSafe for FPState

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.