From: Guido van Rossum Date: Fri, 27 Mar 1992 17:30:32 +0000 (+0000) Subject: fix HUGE and MAXVAL (suggested by Tim Peters) X-Git-Tag: v0.9.8~434 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dcc6ef2144b17ea971c5a5ef007c4bb9e8034bfd;p=thirdparty%2FPython%2Fcpython.git fix HUGE and MAXVAL (suggested by Tim Peters) --- diff --git a/Python/strtod.c b/Python/strtod.c index 675de30efc81..bcdef328fa9e 100644 --- a/Python/strtod.c +++ b/Python/strtod.c @@ -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 */