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

Bit operations bug with 64-bit numbers #77

Open
CZDanol opened this issue Oct 27, 2022 · 0 comments
Open

Bit operations bug with 64-bit numbers #77

CZDanol opened this issue Oct 27, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@CZDanol
Copy link

CZDanol commented Oct 27, 2022

Describe the issue
Seems like for bit operations with integers, Parsify is only considering the first 32 bits.

bin(3948416048575232) // "0b1110000001110001000001000000000000000011001100000000"
bin(3940650747704064) // "0b1110000000000000000001000000000000000011001100000000"

bin(3948416048575232 & 3940650747704064) // "0b1000000000000000011001100000000"

Device (please complete the following information):

  • Win 11 x64
  • Parsify 2.0.0-rc.3
@CZDanol CZDanol added the bug Something isn't working label Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants