Glossary › Developer terms

Bitwise operators

Operations that work on the individual bits of integers: AND, OR, XOR, NOT and shifts.

Ask AI about this page:ChatGPTClaudePerplexityAI ModeGrokMarkdown

AND (&) keeps the bits set in both numbers. A left shift (<<) by n multiplies by 2 to the power n.

In Ratio

You typeRatio shows
0xF0 & 0x3C0x30
1 << 416

Related

Binary · All terms

Try Ratio free for 7 days