-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add AND, OR and XOR bitops to Integer class #336
Labels
Comments
Here's the test data generator. To compile and run it, issue
|
Also see Commit 16ffe513a4211019, Commit beb9df9d9e3755ce and Commit ccef9149afc698fc. The first commit added the functionality. The last two commits were defensive to ensure no unexpected behavior on a corner case. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add AND, OR and XOR bitops to Integer class.
This will help support some ciphers, like Poly1305. Users may also find it useful, so an external interface should be made available.
The primitive operations are already available in
<words.h>
:AndWords
,OrWords
andXorWords
.The text was updated successfully, but these errors were encountered: