Mailing List Archive

[issue14521] math.copysign(1., float('nan')) returns -1.
Roundup Robot <devnull@psf.upfronthosting.co.za> added the comment:

New changeset c468511fc887 by Mark Dickinson in branch 'default':
Issue #14521: Make result of float('nan') and float('-nan') more consistent across platforms. Further, don't rely on Py_HUGE_VAL for float('inf').
http://hg.python.org/cpython/rev/c468511fc887

----------
nosy: +python-dev

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue14521>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue14521] math.copysign(1., float('nan')) returns -1. [ In reply to ]
Mark Dickinson <dickinsm@gmail.com> added the comment:

Now fixed.

----------
resolution: -> fixed

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue14521>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue14521] math.copysign(1., float('nan')) returns -1. [ In reply to ]
Changes by Mark Dickinson <dickinsm@gmail.com>:


----------
status: open -> closed

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue14521>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com