We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5b9869 commit 62bb66bCopy full SHA for 62bb66b
src/Init/Data/BitVec/Basic.lean
@@ -843,7 +843,7 @@ def smulOverflow {w : Nat} (x y : BitVec w) : Bool :=
843
(x.toInt * y.toInt ≥ 2 ^ (w - 1)) || (x.toInt * y.toInt < - 2 ^ (w - 1))
844
845
/--
846
- Count the number of leading zeroes downward from the `n`-th bit to the `0`-th bit.
+ Count the number of leading zeros downward from the `n`-th bit to the `0`-th bit.
847
-/
848
def clzAux {w : Nat} (x : BitVec w) (n : Nat) : Nat :=
849
match n with
0 commit comments