AI engineering glossary · Computing foundations
What is bitwise operation?
Bitwise operation: An operation that works directly on the individual bits of numbers, such as AND, OR, XOR and shifts. It is fast and used for flags, masks, compression and low-level data handling.
Bitwise operation: an example
In Python, 6 & 3 gives 2 because 110 AND 011 is 010.
Related terms
More Computing foundations terms
Where you learn it
Bitwise operation is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.