[Numpy-svn] [numpy/numpy] c73405: BUG: improve log2 windows compiler fallback of log...

GitHub noreply at github.com
Sun Jun 8 08:56:21 EDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: c73405da8ffef0877c64ff3911d67b071691b0cd
      https://github.com/numpy/numpy/commit/c73405da8ffef0877c64ff3911d67b071691b0cd
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2014-06-08 (Sun, 08 Jun 2014)

  Changed paths:
    M numpy/core/src/npymath/npy_math.c.src
    M numpy/core/tests/test_umath.py

  Log Message:
  -----------
  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


  Commit: 3087de303e70d405e5a201d72e62fd747c96e4a6
      https://github.com/numpy/numpy/commit/3087de303e70d405e5a201d72e62fd747c96e4a6
  Author: Julian Taylor <juliantaylor108 at gmail.com>
  Date:   2014-06-08 (Sun, 08 Jun 2014)

  Changed paths:
    M numpy/core/src/npymath/npy_math.c.src
    M numpy/core/tests/test_umath.py

  Log Message:
  -----------
  Merge pull request #4790 from juliantaylor/log2-windows

BUG: improve log2 windows compiler fallback of log2


Compare: https://github.com/numpy/numpy/compare/079b741cac5c...3087de303e70


More information about the Numpy-svn mailing list