Skip to content

Commit a48535b

Browse files
committed
chore: whitespaces
1 parent f49e9bd commit a48535b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Init/Data/BitVec/Basic.lean

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -848,9 +848,7 @@ def smulOverflow {w : Nat} (x y : BitVec w) : Bool :=
848848
def clzAux {w : Nat} (x : BitVec w) (n : Nat) : Nat :=
849849
match n with
850850
| 0 => if x.getLsbD 0 then 0 else 1
851-
| n' + 1 =>
852-
if x.getLsbD n then 0
853-
else 1 + clzAux x n'
851+
| n' + 1 => if x.getLsbD n then 0 else 1 + clzAux x n'
854852

855853
/-- Count the number of leading zeroes. -/
856854
def clz {w : Nat} (x : BitVec w) : BitVec w := if w = 0 then 0 else BitVec.ofNat w (clzAux x (w - 1))

0 commit comments

Comments
 (0)