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

3.63中运算符优先级疑问 #68

Open
vamirio98 opened this issue Jun 13, 2021 · 0 comments
Open

3.63中运算符优先级疑问 #68

vamirio98 opened this issue Jun 13, 2021 · 0 comments

Comments

@vamirio98
Copy link

作者你好,3.63中

case 64:
  x = x << 4 - x;

考虑到-的优先级高于<<,这里应该改成

  x = (x << 4) - x;

才对

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