module F: sig
.. end
type
t
val packed_descr : Structural_descr.pack
val of_float : float -> t
fails on NaNs, but allows infinites.
val to_float : t -> float
val compare : t -> t -> int
val equal : t -> t -> bool
Those functions distinguish -0. and +0.
val pretty : Format.formatter -> t -> unit
val pretty_normal : use_hex:bool -> Format.formatter -> t -> unit
val zero : t
val next_float : float -> float
First double strictly above the argument. Must be called on non-NaN
floats. Returns +infty on MAX_FLT. Infinites are left unchanged.
val prev_float : float -> float
First double strictly below the argument. Must be called on non-NaN
floats. Returns -infty on -MAX_FLT. Infinites are left unchanged.