numpy/numpy — pull request #4790 by juliantaylor (2014-06-07 12:26:04+00:00)
Title: BUG: improve log2 windows compiler fallback of log2

Fallback (similar to python3.4 math.log2) provides int(log(2**i)) == i
in default rounding mode.
Non-default rounding modes not tested but if it does not work we are at
least not worse than python.
Closes gh-4787