doc(CCFloat): document the rounding behavior

fixes #237
This commit is contained in:
Fardale 2020-01-24 23:01:47 +01:00
parent d1a5e047fe
commit 8c43e345ad

View file

@ -74,6 +74,7 @@ val fsign : t -> t
val round : t -> t
(** [round f] returns the closest integer value, either above or below.
For [n + 0.5], [round] returns [n].
@since 0.20 *)
exception TrapNaN of string