[Python-checkins] r71323 - python/branches/py3k-short-float-repr/Python/pystrtod.c

eric.smith python-checkins at python.org
Mon Apr 6 22:57:16 CEST 2009


Author: eric.smith
Date: Mon Apr 6 22:57:16 2009
New Revision: 71323
Log:
Removed bogus comment.
Modified:
 python/branches/py3k-short-float-repr/Python/pystrtod.c
Modified: python/branches/py3k-short-float-repr/Python/pystrtod.c
==============================================================================
--- python/branches/py3k-short-float-repr/Python/pystrtod.c	(original)
+++ python/branches/py3k-short-float-repr/Python/pystrtod.c	Mon Apr 6 22:57:16 2009
@@ -589,12 +589,6 @@
 
 	/* We got digits back, format them. */
 
-	/* this replaces the various tests in other places like:
-	 if (type == 'f' && fabs(x) >= 1e50)
-		type = 'g';
-	 over time, those tests should be deleted
-	*/
-
 	/* Detect if we're using exponents or not, and figure out how many
 	 additional digits we need beyond those provided by dtoa. */
 	switch (format_code) {


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /