Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ c = 1111 1110
| `~` |Complement (bitwise inversion) | `~a` = `1100 0011 (-61 in 2's complement)` |
| `<<` |Left shift | `a << 2` = `1111 0000 (-16 in 2's complement)` |
| `>>` |Arithmetic shift right | `c >> 2` = `1111 1111 (-1)` |
| `>>>` |Logical shift right (zero-fill)| `c >>> 2` = `0111 1111 (127)` |
| `>>>` |Logical shift right (zero-fill)| `c >>> 2` = `0011 1111 (63)` |

### Useful Tricks
- Note that in the following examples, x, 0, and 1 refer to a single bit, not a multi-bit integer
Expand Down