#floating-point #flags #manipulating #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

#1391 in Algorithms

Download history 1/week @ 2024-05-25

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–2MB
~38K SLoC