[Numpy-svn] [numpy/numpy] 01a908: ENH: vectorize boolean comparisons of floats

GitHub noreply@github....
Mon Jul 8 17:26:55 CDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 01a9081e7791f19d65f73e623a5dfeec52243be3
      https://github.com/numpy/numpy/commit/01a9081e7791f19d65f73e623a5dfeec52243be3
  Author: Julian Taylor <jtaylor.debian@googlemail.com>
  Date:   2013-07-08 (Mon, 08 Jul 2013)

  Changed paths:
    M numpy/core/numeric.py
    M numpy/core/src/umath/loops.c.src
    M numpy/core/src/umath/simd.inc.src
    M numpy/core/tests/test_numeric.py

  Log Message:
  -----------
  ENH: vectorize boolean comparisons of floats

the new code will more often propagate the invalid floating point
exception if comparing against nan, so allclose now ignores it (but
still returns False)


  Commit: f1c776657467391781767780bb0a783d24bb8d50
      https://github.com/numpy/numpy/commit/f1c776657467391781767780bb0a783d24bb8d50
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-07-08 (Mon, 08 Jul 2013)

  Changed paths:
    M numpy/core/numeric.py
    M numpy/core/src/umath/loops.c.src
    M numpy/core/src/umath/simd.inc.src
    M numpy/core/tests/test_numeric.py

  Log Message:
  -----------
  Merge pull request #3507 from juliantaylor/vectorize-cmp

ENH: vectorize boolean comparisons of floats


Compare: https://github.com/numpy/numpy/compare/cfe411b6cccb...f1c776657467


More information about the Numpy-svn mailing list