From dcc6ef2144b17ea971c5a5ef007c4bb9e8034bfd Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 27 Mar 1992 17:30:32 +0000 Subject: fix HUGE and MAXVAL (suggested by Tim Peters) --- Python/strtod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Python/strtod.c') diff --git a/Python/strtod.c b/Python/strtod.c index 675de30efc..bcdef328fa 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 */ -- cgit v1.2.1