mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 05:33:04 +08:00
@@ -293,7 +293,7 @@ c = complex(re, im)
|
|||||||
|
|
||||||
该运算符与异或运算符一同使用,即 `m^x`,对于无符号 x 使用“全部位设置为 1”,对于有符号 x 时使用 `m=-1`。例如:
|
该运算符与异或运算符一同使用,即 `m^x`,对于无符号 x 使用“全部位设置为 1”,对于有符号 x 时使用 `m=-1`。例如:
|
||||||
|
|
||||||
^2 = ^10 = -01 ^ 10 = -11
|
^10 = -01 ^ 10 = -11
|
||||||
|
|
||||||
- 位左移 `<<`:
|
- 位左移 `<<`:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user