Use bitwise and to check if an integer is odd/even
Merge pull request #1771 from devinus/bitwise-oddeven

Use bitwise and to check if an integer is odd/even