We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following code
var x:Int32 = 1290555; var d:Int = -13; x = x * (2 - (d * x)); trace("x: "+x);
will return -2147483648 (for cppia target). The correct result should be 991146299
The text was updated successfully, but these errors were encountered:
Something is wrong with the parentheses order. The following works x = 2*x - x*(d * x); or x = (2 - (d * x)) * x;
x = 2*x - x*(d * x);
x = (2 - (d * x)) * x;
Sorry, something went wrong.
Fix for Cppia (see issue HaxeFoundation#11897)
3ec3f61
No branches or pull requests
The following code
will return -2147483648 (for cppia target). The correct result should be 991146299
The text was updated successfully, but these errors were encountered: