Bitwise operator

Updated: 08/02/2020 by Computer Hope

A bitwise operator may be used in programming for operating on the individual bits of binary values.

For example, one of the binary operators is the NOT operator. It performs an unary negation on each bit within a binary value (effectively changing all zeroes to ones and ones to zeroes). For example, NOT 010 would return 101. The syntax for using bitwise operators is different among the various programming languages, so programmers need to refer to the documentation for the language being used.

Boolean, Logical operation, Programming terms