Crate fpopt

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§

Structs§

  • A wrapper around the floating point environment.
  • A wrapper over floating point exception flags.
  • A wrapper over floating point rounding flags.

Functions§