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

fpopt

a wrapper around manipulating floating point flags

3 releases

0.0.3 May 4, 2024
0.0.2 Feb 20, 2024
0.0.1 Feb 20, 2024

#2203 in Algorithms

Download history 9/week @ 2024-09-21

243 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
~38K SLoC