Features and examples:
Returns whether num is a power of two or not :param num: an integer positive number :return: True if num is a power of 2, False otherwise
Returns the first power of two >= x, so f(2) = 2, f(127) = 128, f(65530) = 65536
x