module LDouble:sig..end
type t
val to_float : t -> floatfloat.val of_float : float -> tval to_int : t -> intval of_int : int -> tval to_string : ?width:int -> ?prec:int -> t -> string
width specifies the minimum number of digits to format the string
with. A negative value left aligns. The default is 0.
prec specifies the number of digits after the decimal point.
The default is 6.
val of_string : string -> tval add : t -> t -> tval sub : t -> t -> tval mul : t -> t -> tval div : t -> t -> tval neg : t -> tval pow : t -> t -> tval sqrt : t -> tval exp : t -> tval log : t -> tval log10 : t -> tval expm1 : t -> texpm1 x computes exp x -. 1.0, giving numerically-accurate results
even if x is close to 0.0.val log1p : t -> tlog1p x computes log(1.0 +. x) (natural logarithm),
giving numerically-accurate results even if x is close to 0.0.val cos : t -> tval sin : t -> tval tan : t -> tval acos : t -> tval asin : t -> tval atan : t -> tval atan2 : t -> t -> tatan2 y x returns the arc tangent of y /. x.val hypot : t -> t -> t
val cosh : t -> tval sinh : t -> tval tanh : t -> tval acosh : t -> tval asinh : t -> tval atanh : t -> tval ceil : t -> tval floor : t -> tval abs : t -> tabs f returns absolute value of fval rem : t -> t -> trem x y is the remainder of dividing x by yval copysign : t -> t -> tcopysign x y returns a float whose absolute value is that of x
and whose sign is that of y.val frexp : t -> t * intfrexp f returns the pair of the significant and the exponent of f.val ldexp : t -> int -> tldexp x n returns x *. 2 ** n.val modf : t -> t * t(fractional,integer) parts of number.
Known fatal bug on mingw32; see https://sourceforge.net/p/mingw-w64/bugs/478
val classify : t -> Pervasives.fpclassval min_float : tval max_float : tval epsilon : t1.0 and the smallest exactly representable
floating-point number greater than 1.0.val nan : t0.0 /. 0.0. Stands for
'not a number'.val infinity : tval neg_infinity : tval zero : tval one : tval byte_sizes : int * int