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

Support XOR in math operations #17

Open
koryphaee opened this issue Nov 4, 2024 · 1 comment
Open

Support XOR in math operations #17

koryphaee opened this issue Nov 4, 2024 · 1 comment

Comments

@koryphaee
Copy link

I am currently working on a project that uses a ulong as a central type in the business logic. It represents a 64bit image hash that I need to XOR with another hash to find the hamming distance. Currently only addition, substraction, multiplication, division, negation and comparison are supported.
I am already using this cool library for my database primary keys but can't use if for the hash yet.

From what I can tell it won't be a lot of work and I will try to create the PR myself.

I already created a separate issue for support for unsigned integers: #16

@koryphaee
Copy link
Author

I have the change ready but #18 would need to be merged first since XOR is also supported for the new unsigned types.

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

1 participant