chess:programming:bit_operations
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
chess:programming:bit_operations [2021/11/05 09:52] – peter | chess:programming:bit_operations [2021/11/05 09:55] (current) – peter | ||
---|---|---|---|
Line 38: | Line 38: | ||
**NOTE: | **NOTE: | ||
- | * 0xAAAAAAAA | + | |
- | * 0x55555555 | + | * Its bitwise AND with a number will separate out the even bits. |
+ | * 1010 1010 1010 1010 1010 1010 1010 1010 | ||
+ | |||
+ | | ||
+ | * Its bitwise AND with a number will separate out the odd bits. | ||
+ | * 1010 1010 1010 1010 1010 1010 1010 1010 | ||
</ | </ |
chess/programming/bit_operations.1636105935.txt.gz · Last modified: 2021/11/05 09:52 by peter