3 ms·Correction: It is not ~(n & 1), but !(n & 1) Or ((~n) & 1) as ChrisLomont pointed outby smlckz 6y agoCorrection: It is not ~(n & 1), but !(n & 1) Or ((~n) & 1) as ChrisLomont pointed out