Skip to content

Commit

Permalink
Merge pull request sunface#1033 from dangxia/main
Browse files Browse the repository at this point in the history
  • Loading branch information
sunface authored Oct 11, 2022
2 parents b492c51 + fa0adb4 commit dc4f900
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/basic/base-type/numbers.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ Rust的运算基本上和其他语言一样
| \| 位或 | 相同位置只要有1时则为1,否则为0 |
| ^ 异或 | 相同位置不相同则为1,相同则为0 |
| ! 位非 | 把位中的0和1相互取反,即0置为1,1置为0 |
| << 左移 | 所有位向左移动指定位数,右位补零 |
| >> 右移 | 所有位向右移动指定位数,左位补零 |
| << 左移 | 所有位向左移动指定位数,右位补0 |
| >> 右移 | 所有位向右移动指定位数,带符号移动(正数补0,负数补1) |



Expand Down Expand Up @@ -342,4 +342,3 @@ use num::complex::Complex;



0 comments on commit dc4f900

Please sign in to comment.