Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dcc6ef2

Browse files
committed
fix HUGE and MAXVAL (suggested by Tim Peters)
1 parent df840d9 commit dcc6ef2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Python/strtod.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ static char MDMINFRAC[] = "494065645841246544";
4747
static double ZERO = 0.0;
4848

4949
static int MDMAXEXPT = { 309};
50-
static char MDMAXFRAC[] = "17976931348623147";
51-
static double HUGE = 1.7976931348623147e308;
50+
static char MDMAXFRAC[] = "17976931348623157";
51+
static double HUGE = 1.7976931348623157e308;
5252

5353
extern double atof(); /* Only called when result known to be ok */
5454

0 commit comments

Comments
 (0)