File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -750,10 +750,7 @@ let mod_int ?dividend_cannot_be_min_int c1 c2 dbg =
750
750
| _ , Some n ->
751
751
if n = Nativeint. min_int
752
752
then
753
- (* [divisor] must be positive be here since we already handled zero and
754
- min_int (the only negative power of 2).
755
-
756
- Similarly to the division by min_int almost always being 0, modulo
753
+ (* Similarly to the division by min_int almost always being 0, modulo
757
754
min_int is almost always the identity, the exception being when the
758
755
divisor is min_int *)
759
756
bind " dividend" c1 (fun c1 ->
@@ -768,6 +765,8 @@ let mod_int ?dividend_cannot_be_min_int c1 c2 dbg =
768
765
Any ))
769
766
else if is_power_of_2_or_zero n
770
767
then
768
+ (* [divisor] must be positive be here since we already handled zero and
769
+ min_int (the only negative power of 2). *)
771
770
let l = Misc. log2_nativeint n in
772
771
(* Algorithm:
773
772
You can’t perform that action at this time.
0 commit comments