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

source · [−]

    pub fn fsrm(value: u32) -> u32

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported on `target_arch="riscv64"` 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`.