Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
cksk
9y ago
0 comments
Save
Share
OK, my bit twiddling knowledge is weak, my google skills are weaker still, and now I'm curious: what does "AND with a two's complement of the condition" mean, exactly?
0 comments
2 comments · 1 top-level
top
newest
oldest
pklausler
9y ago
· 1 in thread
x -= N & -(x >= N);
cksk
OP
9y ago
Ohh, nice, I get it now. Thanks a lot!
j
/
k
navigate · click thread line to collapse