if (x & 1) { # x is odd } else { # x is even }