Helper functions for common mathematical operations.
Get closest power of two greater than the given number.
Get log base 2 of a number.
Note: this is the floor of the result. Also, an input of 0 results in an
output of 0
Log base 2 of 64 bit unsigned integers.