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
This code works
export fn ok(reg u64 x) -> reg u64 { x = x; x ^= 3 |64u 0xffffffff; return x; }
but this doesn't
export fn bad(reg u64 x) -> reg u64 { x = x; x ^= 3 | 0xffffffff; return x; }
because the operator is assumed to have size 256. Moreover, this works
export fn worse(reg u64 x) -> reg u64 { x = x; x ^= 3 + 0xffffffff; return x; }
which I find confusing. Is there a good reason for this?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This code works
but this doesn't
because the operator is assumed to have size 256. Moreover, this works
which I find confusing. Is there a good reason for this?
The text was updated successfully, but these errors were encountered: