-
Notifications
You must be signed in to change notification settings - Fork 546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add BitVec.[toNat|toInt|toFin|getLsbD|getMsbD|getElem|msb]_fill #6177
Conversation
changelog-library |
c23c0c8
to
c5cc20c
Compare
This PR implements BitVec.[*]_fill.
c5cc20c
to
b6a7862
Compare
Mathlib CI status (docs):
|
An alternative approch here might be to deprecate/delete |
It was added in 75272cb without further comments. Given that its a convenient helper and its easy to complete the API, I would be happy to keep it. |
awaiting-review |
…leanprover#6177) This PR implements `BitVec.*_fill`. We also add `toInt_allOnes` and `toFin_allOnes` as the former is needed here. This completes the allOnes API.
…leanprover#6177) This PR implements `BitVec.*_fill`. We also add `toInt_allOnes` and `toFin_allOnes` as the former is needed here. This completes the allOnes API.
This PR implements
BitVec.*_fill
.We also add
toInt_allOnes
andtoFin_allOnes
as the former is needed here. This completes the allOnes API.