x~This operation negates each bit. For integers, this is equivalent to CODE "-x - 1". Unlike Python, ~ is a postfix unary operator in Macaulay2.
|
The source of this document is in Python/doc/bitwise.m2:524:0.