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 christian.heimes
Recipients christian.heimes
Date 2007-12-15.10:23:23
SpamBayes Score 0.049969878
Marked as misclassified No
Message-id <1197714204.6.0.358180315709.issue1635@psf.upfronthosting.co.za>
In-reply-to
Content
The patch unifies the creation and representation of "inf", "-inf" and
"nan" on all platforms. 

>>> float("inf")
inf
>>> float("-inf")
-inf
>>> float("nan")
nan
>>> repr(1e300 * 1e300)
'inf'
>>> repr(1e300 * 1e300 * 0)
'nan'
>>> repr(1e300 * 1e300 * -1)
'-inf'
Files
File name Uploaded
trunk_float_inf_nan.patch christian.heimes, 2007-12-15.10:23:24
History
Date User Action Args
2007-12-15 10:23:25christian.heimessetspambayes_score: 0.0499699 -> 0.049969878
recipients: + christian.heimes
2007-12-15 10:23:24christian.heimessetspambayes_score: 0.0499699 -> 0.0499699
messageid: <1197714204.6.0.358180315709.issue1635@psf.upfronthosting.co.za>
2007-12-15 10:23:24christian.heimeslinkissue1635 messages
2007-12-15 10:23:24christian.heimescreate