[Numpy-svn] [numpy/numpy] b10b40: BUG: Remove extra digit in binary_repr at limit

GitHub noreply at github.com
Thu Feb 23 13:57:46 EST 2017


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: b10b4087132d51ee33bf5e0777282af23d6ee3cd
      https://github.com/numpy/numpy/commit/b10b4087132d51ee33bf5e0777282af23d6ee3cd
  Author: gfyoung <gfyoung17 at gmail.com>
  Date:   2017-02-23 (Thu, 23 Feb 2017)

  Changed paths:
    M numpy/core/numeric.py
    M numpy/core/tests/test_numeric.py

  Log Message:
  -----------
  BUG: Remove extra digit in binary_repr at limit

For negative numbers at the limit for a given
number of digits, we were appending an extra
digit unnecessarily.

Closes gh-8670.


  Commit: e0577251672dd2ceb905a6589beb1bf6825f98fc
      https://github.com/numpy/numpy/commit/e0577251672dd2ceb905a6589beb1bf6825f98fc
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2017-02-23 (Thu, 23 Feb 2017)

  Changed paths:
    M numpy/core/numeric.py
    M numpy/core/tests/test_numeric.py

  Log Message:
  -----------
  Merge pull request #8674 from gfyoung/binary-repr-boundary

BUG: Remove extra digit in binary_repr at limit


Compare: https://github.com/numpy/numpy/compare/ddf8d9d8b6c5...e0577251672d


More information about the Numpy-svn mailing list