[pypy-issue] Issue #1873: divmod(3, float('inf')) behaves differently than CPython (pypy/pypy)
Ram Rachum
issues-reply at bitbucket.org
Wed Sep 24 15:08:05 CEST 2014
New issue 1873: divmod(3, float('inf')) behaves differently than CPython
https://bitbucket.org/pypy/pypy/issue/1873/divmod-3-float-inf-behaves-differently
Ram Rachum:
$ python2
Python 2.7.6 (default, Nov 10 2013, 19:24:24) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> divmod(3, float('inf'))
(nan, nan)
>>>
$ pypy
Python 2.7.8 (f5dcc2477b97, Sep 18 2014, 14:30:11)
[PyPy 2.4.0 with MSC v.1500 32 bit] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>> divmod(3, float('inf'))
(0.0, 3.0)
>>>>
More information about the pypy-issue
mailing list