question: public static int ceilingNextPowerOfTwo ( final int x ) { return 1 << ( 32 - Integer . numberOfLeadingZeros ( x - 1 ) ) ; }
target:  Calculate the next power of 2, greater than or equal to x.<p> From Hacker's Delight, Chapter 3, Harry S. Warren Jr.