diff options
author | Guido van Rossum <guido@python.org> | 1992-03-27 17:30:32 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-03-27 17:30:32 (GMT) |
commit | dcc6ef2144b17ea971c5a5ef007c4bb9e8034bfd (patch) | |
tree | ec27ef91ca27d719054e9f6bd9a5ded2a9e03d53 /Python/strtod.c | |
parent | df840d911ff204aa225a1bc5313709211dbdf383 (diff) | |
download | cpython-dcc6ef2144b17ea971c5a5ef007c4bb9e8034bfd.zip cpython-dcc6ef2144b17ea971c5a5ef007c4bb9e8034bfd.tar.gz cpython-dcc6ef2144b17ea971c5a5ef007c4bb9e8034bfd.tar.bz2 |
fix HUGE and MAXVAL (suggested by Tim Peters)
Diffstat (limited to 'Python/strtod.c')
-rw-r--r-- | Python/strtod.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 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 */ |