ch3/ch3-01 #218
ch3/ch3-01
#218
Replies: 4 comments
-
位清空z = x &^ y 0 0 0 0 1 1 1 0 |
Beta Was this translation helpful? Give feedback.
0 replies
-
x &^ y = x & (^y) |
Beta Was this translation helpful? Give feedback.
0 replies
-
其中有符号整数采用2的补码形式表示,也就是最高bit位用来表示符号位,一个n-bit的有符号数的值域是从-2n-1到2n-1-1 这里应该写成次方的形式,-2ⁿ-1到2ⁿ-1-1(2的n-1次幂的值再-1) |
Beta Was this translation helpful? Give feedback.
0 replies
-
位清空 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ch3/ch3-01
中文版
https://gopl-zh.github.io/ch3/ch3-01.html
Beta Was this translation helpful? Give feedback.
All reactions