#[repr(transparent)]pub struct ResStatus(pub u32);Expand description
Result Status.
Tuple Fields§
§0: u32Implementations§
Source§impl ResStatus
impl ResStatus
Sourcepub const fn res0_nx(&self) -> bool
pub const fn res0_nx(&self) -> bool
RES0 IEEE Inexact Flag. Raw bit values: false (0) = Res0NxNo: The result is not rounded.; true (1) = Res0NxYes: The result is rounded, and as a result some digits lost.
Sourcepub const fn set_res0_nx(&mut self, val: bool)
pub const fn set_res0_nx(&mut self, val: bool)
RES0 IEEE Inexact Flag. Raw bit values: false (0) = Res0NxNo: The result is not rounded.; true (1) = Res0NxYes: The result is rounded, and as a result some digits lost.
Sourcepub const fn res0_uf(&self) -> bool
pub const fn res0_uf(&self) -> bool
RES0 IEEE Underflow Flag. Raw bit values: false (0) = Res0UfNo: No tiny non-zero result is detected.; true (1) = Res0UfYes: A tiny non-zero result is detected.
Sourcepub const fn set_res0_uf(&mut self, val: bool)
pub const fn set_res0_uf(&mut self, val: bool)
RES0 IEEE Underflow Flag. Raw bit values: false (0) = Res0UfNo: No tiny non-zero result is detected.; true (1) = Res0UfYes: A tiny non-zero result is detected.
Sourcepub const fn res0_of(&self) -> bool
pub const fn res0_of(&self) -> bool
RES0 IEEE Overflow Flag. Raw bit values: false (0) = Res0OfNo: The result format’s largest finite number is not exceeded.; true (1) = Res0OfYes: The result format’s largest finite number is exceeded.
Sourcepub const fn set_res0_of(&mut self, val: bool)
pub const fn set_res0_of(&mut self, val: bool)
RES0 IEEE Overflow Flag. Raw bit values: false (0) = Res0OfNo: The result format’s largest finite number is not exceeded.; true (1) = Res0OfYes: The result format’s largest finite number is exceeded.
Sourcepub const fn res0_dz(&self) -> bool
pub const fn res0_dz(&self) -> bool
RES0 IEEE Divide by Zero Flag. Raw bit values: false (0) = Res0DzNo: No exact infinite result is defined for an operation on finite operands.; true (1) = Res0DzYes: An exact infinite result is defined for an operation on finite operands.
Sourcepub const fn set_res0_dz(&mut self, val: bool)
pub const fn set_res0_dz(&mut self, val: bool)
RES0 IEEE Divide by Zero Flag. Raw bit values: false (0) = Res0DzNo: No exact infinite result is defined for an operation on finite operands.; true (1) = Res0DzYes: An exact infinite result is defined for an operation on finite operands.
Sourcepub const fn res0_nv(&self) -> bool
pub const fn res0_nv(&self) -> bool
RES0 IEEE Invalid Flag. Raw bit values: false (0) = Res0NvNo: There is usefully definable result.; true (1) = Res0NvYes: There is no usefully definable result.
Sourcepub const fn set_res0_nv(&mut self, val: bool)
pub const fn set_res0_nv(&mut self, val: bool)
RES0 IEEE Invalid Flag. Raw bit values: false (0) = Res0NvNo: There is usefully definable result.; true (1) = Res0NvYes: There is no usefully definable result.
Sourcepub const fn res0_err(&self) -> bool
pub const fn res0_err(&self) -> bool
RES0 Indirect Operation Error Flag. Raw bit values: false (0) = Res0ErrNo: No invalid indirect operation is detected.; true (1) = Res0ErrYes: An invalid indirect operation error is detected.
Sourcepub const fn set_res0_err(&mut self, val: bool)
pub const fn set_res0_err(&mut self, val: bool)
RES0 Indirect Operation Error Flag. Raw bit values: false (0) = Res0ErrNo: No invalid indirect operation is detected.; true (1) = Res0ErrYes: An invalid indirect operation error is detected.
Sourcepub const fn res0_ovwr(&self) -> bool
pub const fn res0_ovwr(&self) -> bool
RES0 Overwrite Flag. Raw bit values: false (0) = Res0OvwrNo: The value of RES0 has been read.; true (1) = Res0OvwrYes: The value of RES0 has not been read yet and is overwritten by a new MAUWRAP result.
Sourcepub const fn set_res0_ovwr(&mut self, val: bool)
pub const fn set_res0_ovwr(&mut self, val: bool)
RES0 Overwrite Flag. Raw bit values: false (0) = Res0OvwrNo: The value of RES0 has been read.; true (1) = Res0OvwrYes: The value of RES0 has not been read yet and is overwritten by a new MAUWRAP result.
Sourcepub const fn res0_full(&self) -> bool
pub const fn res0_full(&self) -> bool
RES0 Full Flag. Raw bit values: false (0) = Res0FullNo: RES0 has not updated and cannot be read.; true (1) = Res0FullYes: RES0 has updated and can be read.
Sourcepub const fn set_res0_full(&mut self, val: bool)
pub const fn set_res0_full(&mut self, val: bool)
RES0 Full Flag. Raw bit values: false (0) = Res0FullNo: RES0 has not updated and cannot be read.; true (1) = Res0FullYes: RES0 has updated and can be read.
Sourcepub const fn res1_nx(&self) -> bool
pub const fn res1_nx(&self) -> bool
RES1 IEEE Inexact Flag. Raw bit values: false (0) = Res1NxNo: The result is not rounded.; true (1) = Res1NxYes: The result is rounded, and as a result some digits lost.
Sourcepub const fn set_res1_nx(&mut self, val: bool)
pub const fn set_res1_nx(&mut self, val: bool)
RES1 IEEE Inexact Flag. Raw bit values: false (0) = Res1NxNo: The result is not rounded.; true (1) = Res1NxYes: The result is rounded, and as a result some digits lost.
Sourcepub const fn res1_uf(&self) -> bool
pub const fn res1_uf(&self) -> bool
RES1 IEEE Underflow Flag. Raw bit values: false (0) = Res1UfNo: No tiny non-zero result is detected.; true (1) = Res1UfYes: A tiny non-zero result is detected.
Sourcepub const fn set_res1_uf(&mut self, val: bool)
pub const fn set_res1_uf(&mut self, val: bool)
RES1 IEEE Underflow Flag. Raw bit values: false (0) = Res1UfNo: No tiny non-zero result is detected.; true (1) = Res1UfYes: A tiny non-zero result is detected.
Sourcepub const fn res1_of(&self) -> bool
pub const fn res1_of(&self) -> bool
RES1 IEEE Overflow Flag. Raw bit values: false (0) = Res1OfNo: The result format’s largest finite number is not exceeded.; true (1) = Res1OfYes: The result format’s largest finite number is exceeded.
Sourcepub const fn set_res1_of(&mut self, val: bool)
pub const fn set_res1_of(&mut self, val: bool)
RES1 IEEE Overflow Flag. Raw bit values: false (0) = Res1OfNo: The result format’s largest finite number is not exceeded.; true (1) = Res1OfYes: The result format’s largest finite number is exceeded.
Sourcepub const fn res1_dz(&self) -> bool
pub const fn res1_dz(&self) -> bool
RES1 IEEE Divide by Zero Flag. Raw bit values: false (0) = Res1DzNo: No exact infinite result is defined for an operation on finite operands.; true (1) = Res1DzYes: An exact infinite result is defined for an operation on finite operands.
Sourcepub const fn set_res1_dz(&mut self, val: bool)
pub const fn set_res1_dz(&mut self, val: bool)
RES1 IEEE Divide by Zero Flag. Raw bit values: false (0) = Res1DzNo: No exact infinite result is defined for an operation on finite operands.; true (1) = Res1DzYes: An exact infinite result is defined for an operation on finite operands.
Sourcepub const fn res1_nv(&self) -> bool
pub const fn res1_nv(&self) -> bool
RES1 IEEE Invalid Flag. Raw bit values: false (0) = Res1NvNo: There is usefully definable result.; true (1) = Res1NvYes: There is no usefully definable result.
Sourcepub const fn set_res1_nv(&mut self, val: bool)
pub const fn set_res1_nv(&mut self, val: bool)
RES1 IEEE Invalid Flag. Raw bit values: false (0) = Res1NvNo: There is usefully definable result.; true (1) = Res1NvYes: There is no usefully definable result.
Sourcepub const fn res1_err(&self) -> bool
pub const fn res1_err(&self) -> bool
RES1 Indirect Operation Error Flag. Raw bit values: false (0) = Res1ErrNo: No invalid indirect operation is detected.; true (1) = Res1ErrYes: An invalid indirect operation error is detected.
Sourcepub const fn set_res1_err(&mut self, val: bool)
pub const fn set_res1_err(&mut self, val: bool)
RES1 Indirect Operation Error Flag. Raw bit values: false (0) = Res1ErrNo: No invalid indirect operation is detected.; true (1) = Res1ErrYes: An invalid indirect operation error is detected.
Sourcepub const fn res1_ovwr(&self) -> bool
pub const fn res1_ovwr(&self) -> bool
RES1 Overwrite Flag. Raw bit values: false (0) = Res1OvwrNo: The value of RES1 has been read.; true (1) = Res1OvwrYes: The value of RES1 has not been read yet and is overwritten by a new MAUWRAP result.
Sourcepub const fn set_res1_ovwr(&mut self, val: bool)
pub const fn set_res1_ovwr(&mut self, val: bool)
RES1 Overwrite Flag. Raw bit values: false (0) = Res1OvwrNo: The value of RES1 has been read.; true (1) = Res1OvwrYes: The value of RES1 has not been read yet and is overwritten by a new MAUWRAP result.
Sourcepub const fn res1_full(&self) -> bool
pub const fn res1_full(&self) -> bool
RES1 Full Flag. Raw bit values: false (0) = Res1FullNo: RES1 has not updated and cannot be read.; true (1) = Res1FullYes: RES1 has updated and can be read.
Sourcepub const fn set_res1_full(&mut self, val: bool)
pub const fn set_res1_full(&mut self, val: bool)
RES1 Full Flag. Raw bit values: false (0) = Res1FullNo: RES1 has not updated and cannot be read.; true (1) = Res1FullYes: RES1 has updated and can be read.
Sourcepub const fn res2_nx(&self) -> bool
pub const fn res2_nx(&self) -> bool
RES2 IEEE Inexact Flag. Raw bit values: false (0) = Res2NxNo: The result is not rounded.; true (1) = Res2NxYes: The result is rounded, and as a result some digits lost.
Sourcepub const fn set_res2_nx(&mut self, val: bool)
pub const fn set_res2_nx(&mut self, val: bool)
RES2 IEEE Inexact Flag. Raw bit values: false (0) = Res2NxNo: The result is not rounded.; true (1) = Res2NxYes: The result is rounded, and as a result some digits lost.
Sourcepub const fn res2_uf(&self) -> bool
pub const fn res2_uf(&self) -> bool
RES2 IEEE Underflow Flag. Raw bit values: false (0) = Res2UfNo: No tiny non-zero result is detected.; true (1) = Res2UfYes: A tiny non-zero result is detected.
Sourcepub const fn set_res2_uf(&mut self, val: bool)
pub const fn set_res2_uf(&mut self, val: bool)
RES2 IEEE Underflow Flag. Raw bit values: false (0) = Res2UfNo: No tiny non-zero result is detected.; true (1) = Res2UfYes: A tiny non-zero result is detected.
Sourcepub const fn res2_of(&self) -> bool
pub const fn res2_of(&self) -> bool
RES2 IEEE Overflow Flag. Raw bit values: false (0) = Res2OfNo: The result format’s largest finite number is not exceeded.; true (1) = Res2OfYes: The result format’s largest finite number is exceeded.
Sourcepub const fn set_res2_of(&mut self, val: bool)
pub const fn set_res2_of(&mut self, val: bool)
RES2 IEEE Overflow Flag. Raw bit values: false (0) = Res2OfNo: The result format’s largest finite number is not exceeded.; true (1) = Res2OfYes: The result format’s largest finite number is exceeded.
Sourcepub const fn res2_dz(&self) -> bool
pub const fn res2_dz(&self) -> bool
RES2 IEEE Divide by Zero Flag. Raw bit values: false (0) = Res2DzNo: No exact infinite result is defined for an operation on finite operands.; true (1) = Res2DzYes: An exact infinite result is defined for an operation on finite operands.
Sourcepub const fn set_res2_dz(&mut self, val: bool)
pub const fn set_res2_dz(&mut self, val: bool)
RES2 IEEE Divide by Zero Flag. Raw bit values: false (0) = Res2DzNo: No exact infinite result is defined for an operation on finite operands.; true (1) = Res2DzYes: An exact infinite result is defined for an operation on finite operands.
Sourcepub const fn res2_nv(&self) -> bool
pub const fn res2_nv(&self) -> bool
RES2 IEEE Invalid Flag. Raw bit values: false (0) = Res2NvNo: There is usefully definable result.; true (1) = Res2NvYes: There is no usefully definable result.
Sourcepub const fn set_res2_nv(&mut self, val: bool)
pub const fn set_res2_nv(&mut self, val: bool)
RES2 IEEE Invalid Flag. Raw bit values: false (0) = Res2NvNo: There is usefully definable result.; true (1) = Res2NvYes: There is no usefully definable result.
Sourcepub const fn res2_err(&self) -> bool
pub const fn res2_err(&self) -> bool
RES2 Indirect Operation Error Flag. Raw bit values: false (0) = Res2ErrNo: No invalid indirect operation is detected.; true (1) = Res2ErrYes: An invalid indirect operation error is detected.
Sourcepub const fn set_res2_err(&mut self, val: bool)
pub const fn set_res2_err(&mut self, val: bool)
RES2 Indirect Operation Error Flag. Raw bit values: false (0) = Res2ErrNo: No invalid indirect operation is detected.; true (1) = Res2ErrYes: An invalid indirect operation error is detected.
Sourcepub const fn res2_ovwr(&self) -> bool
pub const fn res2_ovwr(&self) -> bool
RES2 Overwrite Flag. Raw bit values: false (0) = Res2OvwrNo: The value of RES2 has been read.; true (1) = Res2OvwrYes: The value of RES2 has not been read yet and is overwritten by a new MAUWRAP result.
Sourcepub const fn set_res2_ovwr(&mut self, val: bool)
pub const fn set_res2_ovwr(&mut self, val: bool)
RES2 Overwrite Flag. Raw bit values: false (0) = Res2OvwrNo: The value of RES2 has been read.; true (1) = Res2OvwrYes: The value of RES2 has not been read yet and is overwritten by a new MAUWRAP result.
Sourcepub const fn res2_full(&self) -> bool
pub const fn res2_full(&self) -> bool
RES2 Full Flag. Raw bit values: false (0) = Res2FullNo: RES2 has not updated and cannot be read.; true (1) = Res2FullYes: RES2 has updated and can be read.
Sourcepub const fn set_res2_full(&mut self, val: bool)
pub const fn set_res2_full(&mut self, val: bool)
RES2 Full Flag. Raw bit values: false (0) = Res2FullNo: RES2 has not updated and cannot be read.; true (1) = Res2FullYes: RES2 has updated and can be read.
Sourcepub const fn res3_nx(&self) -> bool
pub const fn res3_nx(&self) -> bool
RES3 IEEE Inexact Flag. Raw bit values: false (0) = Res3NxNo: The result is not rounded.; true (1) = Res3NxYes: The result is rounded, and as a result some digits lost.
Sourcepub const fn set_res3_nx(&mut self, val: bool)
pub const fn set_res3_nx(&mut self, val: bool)
RES3 IEEE Inexact Flag. Raw bit values: false (0) = Res3NxNo: The result is not rounded.; true (1) = Res3NxYes: The result is rounded, and as a result some digits lost.
Sourcepub const fn res3_uf(&self) -> bool
pub const fn res3_uf(&self) -> bool
RES3 IEEE Underflow Flag. Raw bit values: false (0) = Res3UfNo: No tiny non-zero result is detected.; true (1) = Res3UfYes: A tiny non-zero result is detected.
Sourcepub const fn set_res3_uf(&mut self, val: bool)
pub const fn set_res3_uf(&mut self, val: bool)
RES3 IEEE Underflow Flag. Raw bit values: false (0) = Res3UfNo: No tiny non-zero result is detected.; true (1) = Res3UfYes: A tiny non-zero result is detected.
Sourcepub const fn res3_of(&self) -> bool
pub const fn res3_of(&self) -> bool
RES3 IEEE Overflow Flag. Raw bit values: false (0) = Res3OfNo: The result format’s largest finite number is not exceeded.; true (1) = Res3OfYes: The result format’s largest finite number is exceeded.
Sourcepub const fn set_res3_of(&mut self, val: bool)
pub const fn set_res3_of(&mut self, val: bool)
RES3 IEEE Overflow Flag. Raw bit values: false (0) = Res3OfNo: The result format’s largest finite number is not exceeded.; true (1) = Res3OfYes: The result format’s largest finite number is exceeded.
Sourcepub const fn res3_dz(&self) -> bool
pub const fn res3_dz(&self) -> bool
RES3 IEEE Divide by Zero Flag. Raw bit values: false (0) = Res3DzNo: No exact infinite result is defined for an operation on finite operands.; true (1) = Res3DzYes: An exact infinite result is defined for an operation on finite operands.
Sourcepub const fn set_res3_dz(&mut self, val: bool)
pub const fn set_res3_dz(&mut self, val: bool)
RES3 IEEE Divide by Zero Flag. Raw bit values: false (0) = Res3DzNo: No exact infinite result is defined for an operation on finite operands.; true (1) = Res3DzYes: An exact infinite result is defined for an operation on finite operands.
Sourcepub const fn res3_nv(&self) -> bool
pub const fn res3_nv(&self) -> bool
RES3 IEEE Invalid Flag. Raw bit values: false (0) = Res3NvNo: There is usefully definable result.; true (1) = Res3NvYes: There is no usefully definable result.
Sourcepub const fn set_res3_nv(&mut self, val: bool)
pub const fn set_res3_nv(&mut self, val: bool)
RES3 IEEE Invalid Flag. Raw bit values: false (0) = Res3NvNo: There is usefully definable result.; true (1) = Res3NvYes: There is no usefully definable result.
Sourcepub const fn res3_err(&self) -> bool
pub const fn res3_err(&self) -> bool
RES3 Indirect Operation Error Flag. Raw bit values: false (0) = Res3ErrNo: No invalid indirect operation is detected.; true (1) = Res3ErrYes: An invalid indirect operation error is detected.
Sourcepub const fn set_res3_err(&mut self, val: bool)
pub const fn set_res3_err(&mut self, val: bool)
RES3 Indirect Operation Error Flag. Raw bit values: false (0) = Res3ErrNo: No invalid indirect operation is detected.; true (1) = Res3ErrYes: An invalid indirect operation error is detected.
Sourcepub const fn res3_ovwr(&self) -> bool
pub const fn res3_ovwr(&self) -> bool
RES3 Overwrite Flag. Raw bit values: false (0) = Res3OvwrNo: The value of RES3 has been read.; true (1) = Res3OvwrYes: The value of RES3 has not been read yet and is overwritten by a new MAUWRAP result.
Sourcepub const fn set_res3_ovwr(&mut self, val: bool)
pub const fn set_res3_ovwr(&mut self, val: bool)
RES3 Overwrite Flag. Raw bit values: false (0) = Res3OvwrNo: The value of RES3 has been read.; true (1) = Res3OvwrYes: The value of RES3 has not been read yet and is overwritten by a new MAUWRAP result.
Sourcepub const fn res3_full(&self) -> bool
pub const fn res3_full(&self) -> bool
RES3 Full Flag. Raw bit values: false (0) = Res3FullNo: RES3 has not updated and cannot be read.; true (1) = Res3FullYes: RES3 has updated and can be read.
Sourcepub const fn set_res3_full(&mut self, val: bool)
pub const fn set_res3_full(&mut self, val: bool)
RES3 Full Flag. Raw bit values: false (0) = Res3FullNo: RES3 has not updated and cannot be read.; true (1) = Res3FullYes: RES3 has updated and can be read.