summaryrefslogtreecommitdiffstats
path: root/otherlibs/num/num.mli
diff options
context:
space:
mode:
authorGabriel Scherer <gabriel.scherer@gmail.com>2014-12-21 11:46:08 +0000
committerGabriel Scherer <gabriel.scherer@gmail.com>2014-12-21 11:46:08 +0000
commit85b75d7963febd9f31a3fbf52a7846ee28c429e7 (patch)
treee33475baa95a388ff036a13f8a0c590b95f0fcb3 /otherlibs/num/num.mli
parentc7d7103646aa5078d326a78c3d0f51709d38f579 (diff)
PR#6494: Add equal function in modules Big_int, Bytes, Char, Digest, Int32, Int64, Nativeint, Num and String
(Romain Calascibetta) From: Romain Calascibetta <romain.calascibetta@gmail.com> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15725 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/num/num.mli')
-rw-r--r--otherlibs/num/num.mli4
1 files changed, 4 insertions, 0 deletions
diff --git a/otherlibs/num/num.mli b/otherlibs/num/num.mli
index 6425085e6..a43929ef2 100644
--- a/otherlibs/num/num.mli
+++ b/otherlibs/num/num.mli
@@ -129,6 +129,10 @@ val compare_num : num -> num -> int
(** Return [-1], [0] or [1] if the first argument is less than,
equal to, or greater than the second argument. *)
+val equal : num -> num -> bool
+(** The equal function for nums.
+ @since 4.03.0 *)
+
val max_num : num -> num -> num
(** Return the greater of the two arguments. *)