How to compute the log base 2 of 1/8