pub struct Fpscr { /* fields omitted */ }
Expand description
Floating-point Status Control Register
Creates a Fspcr
value from raw bits.
Returns the contents of the register as raw bits
Read the Negative condition code flag
pub fn set_n(&mut self, n: bool)
Sets the Negative condition code flag
Read the Zero condition code flag
pub fn set_z(&mut self, z: bool)
Sets the Zero condition code flag
Read the Carry condition code flag
pub fn set_c(&mut self, c: bool)
Sets the Carry condition code flag
Read the Overflow condition code flag
pub fn set_v(&mut self, v: bool)
Sets the Zero condition code flag
Read the Alternative Half Precision bit
pub fn set_ahp(&mut self, ahp: bool)
Sets the Alternative Half Precision bit
Read the Default NaN mode bit
pub fn set_dn(&mut self, dn: bool)
Sets the Default NaN mode bit
Read the Flush to Zero mode bit
pub fn set_fz(&mut self, fz: bool)
Sets the Flush to Zero mode bit
Read the Rounding Mode control field
Sets the Rounding Mode control field
Read the Input Denormal cumulative exception bit
pub fn set_idc(&mut self, idc: bool)
Sets the Input Denormal cumulative exception bit
Read the Inexact cumulative exception bit
pub fn set_ixc(&mut self, ixc: bool)
Sets the Inexact cumulative exception bit
Read the Underflow cumulative exception bit
pub fn set_ufc(&mut self, ufc: bool)
Sets the Underflow cumulative exception bit
Read the Overflow cumulative exception bit
pub fn set_ofc(&mut self, ofc: bool)
Sets the Overflow cumulative exception bit
Read the Division by Zero cumulative exception bit
pub fn set_dzc(&mut self, dzc: bool)
Sets the Division by Zero cumulative exception bit
Read the Invalid Operation cumulative exception bit
pub fn set_ioc(&mut self, ioc: bool)
Sets the Invalid Operation cumulative exception bit
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.