Turtle and Observer Command

bitnot integer1

Reports the bitwise negation of its input.

Examples:

bitnot 4 returns 11. The negation of 0100 is 1011.

Related commands:
bitand bitor bitxor