BitNot

HC Arithmetic Bitwise Operations BitNot
BitXOr aShift

BitNot num


outputs the bitwise not of its input num, which must be an integer, or a list or array of integers.

Examples:

BitNot 1		;-2  ;-)
BitNot 0		;-1  ;-)
BitNot [1 2 3]	;[-2 -3 -4] ;-)
BitNot {1 2 3}	;{-2 -3 -4}  ;-)

Reference:

BitXOr aShift