Crlibm
Binding to CRlibm, a library of proved correctly-rounded mathematical functions.
Version: 0.5.1
module type S = sig ... end
Common functions to the four rounding modules below.
include S
expm1 x
returns exp x -. 1.
in a way that is accurate even for values of x
near zero.
log1p x
returns log(x +. 1.)
in a way that is accurate even for values of x
near zero.
pow x y
computes x
to the power y
. Beware that this is not proved to be correctly rounded for all inputs.
module Low = RoundDown
module High = RoundUp
module RoundToZero : S
module Zero = RoundToZero