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

[Lua] Wrong left shift with -1 #11888

Closed
flashultra opened this issue Dec 17, 2024 · 1 comment
Closed

[Lua] Wrong left shift with -1 #11888

flashultra opened this issue Dec 17, 2024 · 1 comment

Comments

@flashultra
Copy link
Contributor

The following shift operation -1 << 1 will return 4294967294 in Lua . The correct result should be -2
Fixed in #10750

@flashultra
Copy link
Contributor Author

Closed with #11889

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