Crate fenv_bind

Source
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§

raw

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