bitnot
factor
Factor yields an integer
.
The bitnot
operator evaluates to the bitwise NOT of the given value. Each bit in the resulting value will be opposite the corresponding bit in the given value.
The expression
is equivalent to the expression bitnot
x-x-1
when x is an integer
.