pub fn frcsr() -> u32
🔬This is a nightly-only experimental API. (
Available on RISC-V RV32 only.
Reads the floating-point control and status register
fcsr is a 32-bit read/write register that selects the dynamic rounding mode
for floating-point arithmetic operations and holds the accrued exception flag.
According to “F” Standard Extension for Single-Precision Floating-Point, Version 2.2,
fcsr is defined as:
|0..=4||Accrued Exceptions (|
|5..=7||Rounding Mode (|