power_of_2_ge

Math.power_of_2_ge(number)

This finds the integer greater than ‘number’ which is a power of two. It could be useful for zero-filling a data array to be processed with a fast Fourier transform.