Help Contents / Arithmetic / Bitwise Operations / BitNot

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}  ;-) 


previous: BitXOr	next: aShift
