Skip to content

Commit 9e0cd62

Browse files
Oleksandr Kulkovadamant-pwn
authored andcommitted
wording
1 parent dacf24f commit 9e0cd62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/algebra/bit-manipulation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ $1 \ll x$ is a number with only the $x$-th bit set, while $\sim(1 \ll x)$ is a n
116116
117117
### Check if a bit is set
118118
119-
The value of the $x$-th bit can be checked by shifting the number $x$-positions to the right until the $x$-th bit is at the unit place, then we can extract it by performing a bitwise & with 1.
119+
The value of the $x$-th bit can be checked by shifting the number $x$ positions to the right, so that the $x$-th bit is at the unit place, after which we can extract it by performing a bitwise & with 1.
120120
121121
``` cpp
122122
bool is_set(unsigned int number, int x) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy