[NumPy-Tickets] [NumPy] #2171: Corner case problem for Python int() and numpy.float128
NumPy Trac
numpy-tickets@scipy....
Tue Jun 19 10:57:19 CDT 2012
#2171: Corner case problem for Python int() and numpy.float128
----------------------+-----------------------------------------------------
Reporter: edcjones | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: Other | Version: 1.6.1
Keywords: |
----------------------+-----------------------------------------------------
I use up-to-date Debian testing (wheezy) linux, amd64 architecture. I
have installed packages python3.2, version 3.2.3~rc2-1 and python3-numpy,
version 1:1.6.2-1.
I got the same answers with packages python2.7, version 2.7.3~rc2-2.1, and
python-numpy, version 1:1.6.2-1.
Create a numpy.float128 scalar whose value is 2**64 - 1, and call it "x".
int(x) is incorrect.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/2171>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list