summaryrefslogtreecommitdiffstats
path: root/stdlib/int64.ml
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/int64.ml')
-rw-r--r--stdlib/int64.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/int64.ml b/stdlib/int64.ml
index aa4add5f1..274a9868d 100644
--- a/stdlib/int64.ml
+++ b/stdlib/int64.ml
@@ -55,3 +55,4 @@ external float_of_bits : int64 -> float = "caml_int64_float_of_bits"
type t = int64
let compare (x: t) (y: t) = Pervasives.compare x y
+let equal (x: t) (y: t) = compare x y = 0