diff options
author | Warren Weckesser <warren.weckesser@gmail.com> | 2019-08-18 12:07:55 -0400 |
---|---|---|
committer | Warren Weckesser <warren.weckesser@gmail.com> | 2019-08-18 12:59:41 -0400 |
commit | dd9051c78476be2bc2cbf03ab895e8dde5ca14ca (patch) | |
tree | d5e0b99fffac5e28c2ad8d96344414d386d14dd4 /numpy/lib/utils.py | |
parent | a6729a0e43791069cbc3cf5e80c34c73fa752b4d (diff) | |
download | numpy-dd9051c78476be2bc2cbf03ab895e8dde5ca14ca.tar.gz |
BUG: core: Handle large negative np.int64 args in binary_repr.
To avoid the cast to floating point that can occur when the first
argument to binary_repr is a NumPy integer, the argument is converted
to a Python integer at the beginning of the function.
Closes gh-14289.
Diffstat (limited to 'numpy/lib/utils.py')
0 files changed, 0 insertions, 0 deletions