package interval
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=083c0e2c20df3d2f2edc497b93d8b7d651c76a51f6d0baf8ae3285c3d08080c9
md5=fe92e35e8a9cc693e250452f225f42ac
CHANGES.md.html
1.4 2018-03-01
Improved interface for the
Interval
library by using sub-modules and standard mathematical names. In particular, all operations — including infix operators — are in a sub-moduleI
which can conveniently be used to introduce local scopes after issuingopen Interval
.Improved pretty-printing functions allowing to pass the format of the interval bounds.
The library functions now signal errors by exceptions
Division_by_zero
andDomain_error
that are local toInterval
.The
Fpu
module has been redesigned: the rounding up or down of functions is controlled by the sub-module (Low
orHigh
) to which they belong. This allows for natural expressions such asLow.(x**2. +. 2. *. x +. 1.)
.Jbuilder/dune is used to compile and install the library.
TravisCI and AppVeyor continuous integration ensure the library works on a variety of OCaml versions and platforms.