[Python-checkins] r64498 - python/trunk/Doc/whatsnew/2.6.rst

mark.dickinson python-checkins at python.org
Tue Jun 24 13:08:58 CEST 2008


Author: mark.dickinson
Date: Tue Jun 24 13:08:58 2008
New Revision: 64498

Log:
Change description of float('nan') feature; NaNs don't care much about 
signs, and float('nan'), float('+nan') and float('-nan') actually all
generate the exact same NaN value.


Modified:
   python/trunk/Doc/whatsnew/2.6.rst

Modified: python/trunk/Doc/whatsnew/2.6.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.6.rst	(original)
+++ python/trunk/Doc/whatsnew/2.6.rst	Tue Jun 24 13:08:58 2008
@@ -1374,8 +1374,8 @@
   of the zero.  (Fixed by Mark T. Dickinson; :issue:`1507`)
 
 * More floating-point features were also added.  The :func:`float` function
-  will now turn the strings ``+nan`` and ``-nan`` into the corresponding
-  IEEE 754 Not A Number values, and ``+inf`` and ``-inf`` into
+  will now turn the string ``nan`` into an
+  IEEE 754 Not A Number value, and ``+inf`` and ``-inf`` into
   positive or negative infinity.  This works on any platform with
   IEEE 754 semantics.  (Contributed by Christian Heimes; :issue:`1635`.)
 


More information about the Python-checkins mailing list