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

博文 “智能合约语言 Solidity 教程系列1 - 类型介绍” 中Typo #1

Open
0xkookoo opened this issue Jun 26, 2018 · 0 comments

Comments

@0xkookoo
Copy link

整型(Integers) 说明中第三条:
移位运算的结果的正负取决于操作符左边的数。x << y 和 x 2**y 是相等, x >> y 和 x / 2**y 是相等的。
应该改为:
移位运算的结果的正负取决于操作符左边的数。x << y 和 x * 2**y 是相等, x >> y 和 x / 2**y 是相等的。
为了阅读方便也可以加上括号:
移位运算的结果的正负取决于操作符左边的数。x << y 和 x * (2**y) 是相等, x >> y 和 x / (2**y) 是相等的。

最后,夸一夸博主,文章写的很不错,文可达意,武可复现。

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