Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 691 Bytes

File metadata and controls

29 lines (18 loc) · 691 Bytes

Build Status

mlfenv

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.

install

opam

mlfenv is available from opam, simply run:

opam install mlfenv

from sources

mlfenv depends on dune build system (see opam to install dune), then:

dune build @all @runtest
dune install

usage

See the tests for some examples.