diff Python/strtod.c @ 749:32085edd77a7 legacy-trunk

fix HUGE and MAXVAL (suggested by Tim Peters)
author Guido van Rossum <guido@python.org>
date Fri, 27 Mar 1992 17:30:32 +0000
parents f9cdeebfcb67
children 29ca45eb3ab7
line wrap: on
line diff
--- a/Python/strtod.c	Fri Mar 27 17:29:44 1992 +0000
+++ b/Python/strtod.c	Fri Mar 27 17:30:32 1992 +0000
@@ -47,8 +47,8 @@
 static	double	ZERO		= 0.0;
 
 static	int	MDMAXEXPT	= { 309};
-static	char	MDMAXFRAC[]	= "17976931348623147";
-static	double	HUGE		= 1.7976931348623147e308;
+static	char	MDMAXFRAC[]	= "17976931348623157";
+static	double	HUGE		= 1.7976931348623157e308;
 
 extern	double	atof();		/* Only called when result known to be ok */