complement package:base

Reverse all the bits in the argument
x `complementBit` i is the same as x `xor` bit i