Module Utils.Float

module Float: sig .. end
Float implementation.
Since 2.0

include Utils.Comparable
val set_precision : float -> unit
Set the precision of equal and compare for float. If the precision is p, then the floats x and y are equal iff abs(x-y) < p. By default, the precision is 1e-3 (that is one millisecond if floats represents seconds).
val round : t -> int
Round a float to the nearest integer.