5.1.5 Bit logic operators

The following bit logic operators are available.

Operator

Overview

~

Obtains the logical negation (NOT) by each bit.

&

Obtains the logical AND operation for each bit of the first and second term values.

|

Obtains the logical OR operation for each bit of the first and second term values.

^

Obtains the exclusive OR operation for each bit of the first and second term values.