Mover power_of_two() and range_xor() from Math to Miscellaneous