convert a real number between 0 and 1 to binary
Determine how many must be altered in changing int A to int B
Swap even and odd position bits