Glossary › Developer terms
Bitwise operators
Operations that work on the individual bits of integers: AND, OR, XOR, NOT and shifts.
AND (&) keeps the bits set in both numbers. A left shift (<<) by n multiplies by 2 to the power n.
In Ratio
| You type | Ratio shows |
|---|---|
0xF0 & 0x3C | 0x30 |
1 << 4 | 16 |