Bit operations on numbers