#floating-point #flags #manipulating #operations #fenv #f-env

fpopt

a wrapper around manipulating floating point flags

2 releases

0.0.2 Feb 20, 2024
0.0.1 Feb 20, 2024

#1209 in Algorithms

34 downloads per month

Custom license

22KB
570 lines

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.

Dependencies

~0–1.9MB
~37K SLoC