This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients akuchling, docs@python, mark.dickinson, python-dev, r.david.murray, sandro.tosi, terry.reedy, umedoblock
Date 2014-02-16.16:21:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392567675.37.0.464213323079.issue12211@psf.upfronthosting.co.za>
In-reply-to
Content
More examples, showing that `y` is not ignored when `x` is a NaN.

>>> result1 = copysign(float('nan'), 1.0)
>>> result2 = copysign(float('nan'), -1.0)
>>> copysign(1.0, result1)  # result1 is a NaN whose sign bit is cleared.
1.0
>>> copysign(1.0, result2)  # result2 is a NaN whose sign bit is set.
-1.0
History
Date User Action Args
2014-02-16 16:21:15mark.dickinsonsetrecipients: + mark.dickinson, akuchling, terry.reedy, r.david.murray, sandro.tosi, docs@python, python-dev, umedoblock
2014-02-16 16:21:15mark.dickinsonsetmessageid: <1392567675.37.0.464213323079.issue12211@psf.upfronthosting.co.za>
2014-02-16 16:21:15mark.dickinsonlinkissue12211 messages
2014-02-16 16:21:15mark.dickinsoncreate