Skip to content
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

Question: Best way to negate a section of BitVec? #43

Open
m-legrand opened this issue Feb 10, 2017 · 1 comment
Open

Question: Best way to negate a section of BitVec? #43

m-legrand opened this issue Feb 10, 2017 · 1 comment

Comments

@m-legrand
Copy link

As a trivial example, suppose we set let k = bv.len() / 4. What would be the most efficient way to flip all the bits from index k to 3 * k?

@m-legrand m-legrand changed the title Question: Best way to negate a section of BitVec ? Question: Best way to negate a section of BitVec? Feb 10, 2017
@pczarn
Copy link
Contributor

pczarn commented Dec 4, 2020

This functionality would be best implemented by creating BitSlice proposed in another issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants