fsrm in core::arch::riscv64 - Rust
Description: Swaps the floating-point rounding mode register `frm`

# Function core::arch::riscv64::fsrm

source ·

    pub fn fsrm(value: u32) -> u32

🔬This is a nightly-only experimental API. (`stdsimd` #48556)
Available on RISC-V RV64 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`.