Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Functions rounding down their results.
include Interval.DIRECTED with type t = float
val zero : t
The neutral element for addition.
val one : t
The neutral element for multiplication.
val pi : t
Upper/lower bound on π.
val two_pi : t
Upper/lower bound on 2π.
val half_pi : t
Upper/lower bound on π/2.
val e : t
Upper/lower bound on e
(Euler's constant).
val float : int -> t
When t = float
, the float function is exact on 32 bits machine but not on 64 bits machine with ints larger than 53 bits.
include Crlibm.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.
Hyperbolic tangent. This is not provided by CRlibm but is defined here for usefulness.
module U = I.U