# Function core::arch::riscv32::fsrm

source · [−]

    pub fn fsrm(value: u32) -> u32

🔬This is a nightly-only experimental API. (`stdsimd` #48556)
Available on RISC-V RV32 only.
Expand description

Swaps the floating-point rounding mode register `frm`

This function swaps the value in `frm` by copying the original value to be returned, and then writing a new value obtained from the three least-significant bits of input variable `value` into `frm`.