Skip to content

Commit

Permalink
fix(tutorials): mdx issues
Browse files Browse the repository at this point in the history
  • Loading branch information
wingkwong committed Dec 1, 2023
1 parent 65ac892 commit 302766e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutorials/math/bit-manipulation.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ for (int i = n; ~i; i--) {
}
```

### Left-Shift ($<<$)
### Left-Shift

$<<$ shifts the bits to the left. For example, $1 << 1 = 2$ because we shift the $1$ $(0001_2)$ to the left to become $2$ $(0010_2)$.

Expand Down Expand Up @@ -270,7 +270,7 @@ public:
};
```
### Right-Shift (>>)
### Right-Shift
$>>$ shifts the bits to the right. For example $3_{10}$ $(0011_2)$ $>> 1$ would become $1$ $(0010_2)$.
Expand Down

0 comments on commit 302766e

Please sign in to comment.