We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40b69a6 commit 163880aCopy full SHA for 163880a
ocaml/otherlibs/stdlib_beta/float32.mli
@@ -418,7 +418,7 @@ external modf : t -> t * t = "caml_modf_float32"
418
(** [modf f] returns the pair of the fractional and integral
419
part of [f]. *)
420
421
-val compare : t -> t -> int
+external compare : t -> t -> int = "%compare"
422
(** [compare x y] returns [0] if [x] is equal to [y], a negative integer if [x]
423
is less than [y], and a positive integer if [x] is greater than
424
[y]. [compare] treats [nan] as equal to itself and less than any other float
0 commit comments