powered by
Find the next integer power of 2
NextPow2(x)
integer that is a power of 2 higher than given integer
integer
Jonathan M. Lees<jonathan.lees@unc.edu>
NextPow2(600) NextPow2(1023) NextPow2(1025)
Run the code above in your browser using DataLab