101 reputation
2

invert

bitwise operators flail
while true loops recurse
stack overflow, bits and bytes