Alternative implementation for is_power_of_two that is working on windows float precision