package interval_crlibm
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=623b6117ba2d36f4ddbf78777d1ba1fad324d00db1f641f064fc231602b40aa2
sha512=09fbca71c9eeb89b56bbf752240f1fec8515757ecb4245912e6e6e7c9baa1cce1e6b009f40f17b5aa97f405ac870c6203f472eba6600efdaf43066e58a018d04
CHANGES.md.html
1.5.1 2019-05-01
Fix the implementation of exponentiation (xⁿ, n ∈ ℤ).
Deprecate the
size…
functions in favor ofwidth…
.Add functions
mag
(magnitude) andmig
(mignitude).
1.5 2019-04-06
The library is now organized as 4 packages:
interval_base
defines the moduleInterval
that groups the functions that work on any IEEE-754 processor and offers basic module signatures;interval_intel
: defines a moduleInterval_intel
using assembly instructions on Intel Processors;interval_crlibm
: defines a moduleInterval_crlibm
using the library CRlibm to evaluate standard functions (sometimes a bit slower but proved enclosures in contrast to the Intel package for which enclosures are not always 100% correct).interval
: a meta-package that install all above three.
Interval.T
is a module signature to form the base of what is expected of any interval package.New functions:
invx
(extended inverse),cancelminus
,cancelplus
,inter
inter_exn
,low
,high
.New binary relations
equal
,=
,subset
,<=
,>=
,precedes
,interior
,<
,>
,strict_precedes
,disjoint
.New predicates
is_bounded
,is_entire
.New constants
I.half_pi
∋ π/2 andI.entire
for [-∞, +∞].Interval_crlibm
: functionsexpm1
,log1p
,log2
,log10
,cospi
,sinpi
,tanpi
,acospi
,asinpi
,atanpi
, not present in the Intel version.The module
I.U
also restores inequality relations.Speed and documentation improvements.
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.