Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section

BitNot Operator

Used to perform bitwise negation on a numeric expression.


result = BitNot expression


The BitNot operator syntax has these parts:

result Any numeric variable.
expression Any expression.


The BitNot operator inverts the bit values of any variable and sets the corresponding bit in result according to the following table:

Bit in expression Bit in result
0 1
1 0

See Also