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

Add bitwise operations #23

Open
nddipiazza opened this issue Aug 31, 2021 · 1 comment
Open

Add bitwise operations #23

nddipiazza opened this issue Aug 31, 2021 · 1 comment

Comments

@nddipiazza
Copy link

nddipiazza commented Aug 31, 2021

Versions:

  • jOOU latest
  • Java 8

Add bitwise operations

Can we add bitwise operations to the library?

See my question for motivation:
https://stackoverflow.com/questions/68991707/how-to-do-unsigned-integer-bit-operations-in-java-1-8-that-match-ones-in-c

So just like we have the add and subtract operators, add:

and
or
xor
compliment
leftShift
rightShift
rightShiftZeroFill
@nddipiazza nddipiazza changed the title Add a bitwise operations module Add bitwise operations Aug 31, 2021
@lukaseder lukaseder mentioned this issue Aug 31, 2021
1 task
@lukaseder lukaseder added this to the Version 0.9.5 milestone Aug 31, 2021
@lukaseder
Copy link
Member

Thank you very much for your suggestion. That could be useful, indeed in the future. Let's track community interest first, before adding the feature.

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

No branches or pull requests

2 participants