About Bitwise Calculator
The bitwise calculator can calculate bitwise AND, bitwise OR, and bitwise XOR (exclusive or) operations. This tool allows you to input two numbers in binary, octal, and decimal number systems and outputs the result in all those numeral systems.
Bitwise Operations Calculation Steps
Bitwise AND Operation &:
The output of bitwise AND is 1 if one of two bits in the sequence is one. If either bit of an operand is 0, the result of the corresponding bit is evaluated to 0.
00001100
& 00011001
________
00001000 = 8 (decimal)
Bitwise OR Operator | :
The output of the bitwise OR is 1 if one of two bits in the operation is 1.if both the bits in OR operation is 0 the output is zero.
00001100
| 00011001
________
00011101 = 29 (decimal)
Bitwise XOR (exclusive OR) Operator ^ :
The output of the bitwise XOR is 1 when one bit is 0 and another bit is one. If both the bits are 0 or 1 the output is zero.
00001100
^ 00011001
________
00010101 = 21 (decimal)