Skip to content

Commit f3cda49

Browse files
committed
fix
1 parent db58a68 commit f3cda49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocaml/otherlibs/stdlib_beta/float32.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ external modf : t -> t * t = "caml_modf_float32"
418418
(** [modf f] returns the pair of the fractional and integral
419419
part of [f]. *)
420420

421-
val compare : t -> t -> int
421+
external compare : t -> t -> int = "%compare"
422422
(** [compare x y] returns [0] if [x] is equal to [y], a negative integer if [x]
423423
is less than [y], and a positive integer if [x] is greater than
424424
[y]. [compare] treats [nan] as equal to itself and less than any other float

0 commit comments

Comments
 (0)