Skip to content

Commit

Permalink
doc: fix BitVec.mul docstring
Browse files Browse the repository at this point in the history
Seems this was copy-pasted from `BitVec.neg`
  • Loading branch information
llllvvuu committed Sep 25, 2024
1 parent a3ca15d commit 1828a1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Init/Data/BitVec/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ Return the absolute value of a signed bitvector.
protected def abs (x : BitVec n) : BitVec n := if x.msb then .neg x else x

/--
Multiplication for bit vectors. This can be interpreted as either signed or unsigned negation
modulo `2^n`.
Multiplication for bit vectors. This can be interpreted as either signed or unsigned
multiplication modulo `2^n`.
SMT-Lib name: `bvmul`.
-/
Expand Down

0 comments on commit 1828a1f

Please sign in to comment.