Expand description
This crate allows manipulation of the floating point flags available to the <fenv.h> header.
This crate aims to provide a safe abstraction for all common operations, while still exposing the underying raw api within the raw
module.
The functionality of this crate exists within the types FExcept
, FRound
and FEnv
respectively.
Modules§
Structs§
- FEnv
- A wrapper around the floating point environment.
- FExcept
- A wrapper over floating point exception flags.
- FRound
- A wrapper over floating point rounding flags.
Functions§
- get_
rounding_ mode - visit: https://en.cppreference.com/w/c/numeric/fenv/feround
- set_
rounding_ mode - visit: https://en.cppreference.com/w/c/numeric/fenv/feround