hum this is not available in `pow.h` as-is so it would means a not so pretty loop while this is relatively [elegant] (http://graphics.stanford.edu/~seander/bithacks.html#RoundUpPowerOf2).