commit | dcc6ef2144b17ea971c5a5ef007c4bb9e8034bfd | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Mar 27 17:30:32 1992 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Mar 27 17:30:32 1992 +0000 |
tree | ec27ef91ca27d719054e9f6bd9a5ded2a9e03d53 | |
parent | df840d911ff204aa225a1bc5313709211dbdf383 [diff] [blame] |
fix HUGE and MAXVAL (suggested by Tim Peters)
diff --git a/Python/strtod.c b/Python/strtod.c index 675de30..bcdef32 100644 --- a/Python/strtod.c +++ b/Python/strtod.c
@@ -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 */