Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
OCaml bindings to fenv(3)
The Fenv
module aims to bind fenv(3) functions for floating-point rounding and exception handling. At this point, only bindings for fegetround
and fesetround
are implemented. Please, create an issue if you need more support to fenv functions.
mlfenv depends on dune
build system (see opam
to install dune
), then:
dune build @all @runtest
See the tests
for some examples.