powered by
bitFlip(a, bitWidth=32)
a
bitWidth
bitFlip(-1) == 0 bitFlip(0) == 4294967295 bitFlip(0,bitWidth=8) == 255
Run the code above in your browser using DataLab