static int iceil_divideByPowerOfTwo(int exponent, int x) { ret (x + (1 << exponent) - 1) >> exponent; }