aspcore.utilities.next_power_of_two

aspcore.utilities.next_power_of_two(x)

Returns the smallest number that is both a power of two and larger or equal to x.