Implementing log2 using only integer operations and bithacks