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

Fix for Issue11475 #11867

Closed
wants to merge 94 commits into from
Closed

Conversation

flashultra
Copy link
Contributor

The following code ( for JS target) will return the value ("low: 4041473819") as max Int for JS is 9007199254740991 .
After the fix the value should be "low: -253493477"
The max value for Int32 should be 2,147,483,647

var i:Int64 = Int64.make(0xF0E3FF1B, 0x00000000);
var mcr:Int64 = Int64.ushr(i, 32);
trace("mcr: "+mcr);
trace("high: "+mcr.high);
trace("low: "+mcr.low);

@flashultra flashultra closed this Dec 10, 2024
@flashultra flashultra deleted the issue11475 branch December 10, 2024 20:25
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

Successfully merging this pull request may close these issues.

1 participant