bitNot (Function)

Signature: bitNot(a: int) -> int

Description: One's complement of an int. Total; performs no Arith operation.

Parameters

  • a (int): The word to invert

Returns: int

Example

print(bitNot(12))  // -13
print (bitNot 12)  // -13