aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/uint31.ml
diff options
context:
space:
mode:
authorGravatar Guillaume Melquiond <guillaume.melquiond@inria.fr>2014-10-27 07:21:09 +0100
committerGravatar Guillaume Melquiond <guillaume.melquiond@inria.fr>2014-10-27 07:21:09 +0100
commit65c8d91cd4c11b8de44f0b23cd44a3303cd54d4e (patch)
tree5b7c97dc58c1b453cd4ba0df838e5cd7a452e309 /kernel/uint31.ml
parentcc81b38185b6f558a6908f64cfaa7ee94131bf6c (diff)
Fix some typos in comments.
Diffstat (limited to 'kernel/uint31.ml')
-rw-r--r--kernel/uint31.ml8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/uint31.ml b/kernel/uint31.ml
index fea12332c..3a0da2f62 100644
--- a/kernel/uint31.ml
+++ b/kernel/uint31.ml
@@ -105,15 +105,15 @@ let div21 = select div21_32 div21_64
let lt_32 x y = (x lxor 0x40000000) < (y lxor 0x40000000)
(* Do not remove the type information it is really important for
- efficiancy *)
+ efficiency *)
let lt_64 (x:int) (y:int) = x < y
let lt = select lt_32 lt_64
-(* Do not remove the type information it is really important for
- efficiancy *)
let le_32 x y =
(x lxor 0x40000000) <= (y lxor 0x40000000)
+(* Do not remove the type information it is really important for
+ efficiency *)
let le_64 (x:int) (y:int) = x <= y
let le = select le_32 le_64
@@ -121,7 +121,7 @@ let equal (x:int) (y:int) = x == y
let cmp_32 x y = Int32.compare (uint_32 x) (uint_32 y)
(* Do not remove the type information it is really important for
- efficiancy *)
+ efficiency *)
let cmp_64 (x:int) (y:int) = compare x y
let compare = select cmp_32 cmp_64