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

Short BitVector Optimizations (2) #325

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

schmi710
Copy link

@schmi710 schmi710 commented Jul 4, 2020

I believe that the bug has been fixed. Given that tests are still buggy on my machine, I'm putting my fate in the hands of Travis.

I hope I didn't mess anything up.
hopefully
Fixed the masking for bit operations that was causing bits to appear outside the "official" BitVector bits for short BitVectors.
Previously, a resize which decreased the number of fields would not properly clear the values in the last field if the number of bits was not evenly divisible by 64.
This bug persisted for long BitVectors.
added a section to check for overflow in a variety of cases and methods.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants