[issue14521] math.copysign(1., float('nan')) returns -1.

Serhiy Storchaka report at bugs.python.org
Mon Apr 9 20:07:36 CEST 2012


Serhiy Storchaka <storchaka at gmail.com> added the comment:

May be it would be more reasonable if math.copysign(1., float('nan')) return a float('nan')?

----------
nosy: +storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14521>
_______________________________________


More information about the Python-bugs-list mailing list