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 tim.peters
Recipients Cyborg16, tim.peters
Date 2009-08-10.14:06:04
SpamBayes Score 3.647264e-05
Marked as misclassified No
Message-id <1249913165.83.0.95815586876.issue6675@psf.upfronthosting.co.za>
In-reply-to
Content
+inf == +inf, and -inf == -inf, are required by the 754 standard. 
However, +inf - +inf, and -inf - -inf, are required (by the same
standard) to signal invalid operation and, if that signal is masked (as
it is in Python), to return a NaN.  Then NaN == x is false for any value
of x (including a NaN).

OTOH, +inf != -inf, +inf - -inf == +inf, and -inf - +inf == -inf.

Current versions of Python implement all of that.
History
Date User Action Args
2009-08-10 14:06:05tim.peterssetrecipients: + tim.peters, Cyborg16
2009-08-10 14:06:05tim.peterssetmessageid: <1249913165.83.0.95815586876.issue6675@psf.upfronthosting.co.za>
2009-08-10 14:06:04tim.peterslinkissue6675 messages
2009-08-10 14:06:04tim.peterscreate