]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix HUGE and MAXVAL (suggested by Tim Peters)
authorGuido van Rossum <guido@python.org>
Fri, 27 Mar 1992 17:30:32 +0000 (17:30 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 27 Mar 1992 17:30:32 +0000 (17:30 +0000)
Python/strtod.c

index 675de30efc815f171348074b9d7f5584dd4679bf..bcdef328fa9efb983250cbaac7545096163650ad 100644 (file)
@@ -47,8 +47,8 @@ static        char    MDMINFRAC[]     = "494065645841246544";
 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 */