[Numpy-svn] [numpy/numpy] 307177: ENH: Add bits attribute to np.finfo, closes #1886

GitHub noreply at github.com
Sat Jun 4 19:17:39 EDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 3071778e37112377b592b180769f0a44496dc2da
      https://github.com/numpy/numpy/commit/3071778e37112377b592b180769f0a44496dc2da
  Author: Jaime Fernandez <jaimefrio at google.com>
  Date:   2016-06-04 (Sat, 04 Jun 2016)

  Changed paths:
    M numpy/core/getlimits.py
    M numpy/core/tests/test_getlimits.py

  Log Message:
  -----------
  ENH: Add bits attribute to np.finfo, closes #1886

Add a bits attribute to np.finfo, document the existence of this
attribute for both np.iinfo and np.finfo, plus some extra spacing
around the __str__ labels to make the representation consistent
for both classes.


  Commit: 1b162c697536313e993fbc80cab297957e11665d
      https://github.com/numpy/numpy/commit/1b162c697536313e993fbc80cab297957e11665d
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2016-06-04 (Sat, 04 Jun 2016)

  Changed paths:
    M doc/release/1.12.0-notes.rst

  Log Message:
  -----------
  DOC: Mention bits attribute added to finfo in 1.12.0 release notes.


  Commit: d0224de082a7a1786bdf1df20fdc4e58990f9789
      https://github.com/numpy/numpy/commit/d0224de082a7a1786bdf1df20fdc4e58990f9789
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2016-06-04 (Sat, 04 Jun 2016)

  Changed paths:
    M doc/release/1.12.0-notes.rst
    M numpy/core/getlimits.py
    M numpy/core/tests/test_getlimits.py

  Log Message:
  -----------
  Merge pull request #7704 from charris/gh-7471

ENH: Add bits attribute to np.finfo


Compare: https://github.com/numpy/numpy/compare/cc51ba88af13...d0224de082a7


More information about the Numpy-svn mailing list