summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-03-27 17:30:32 (GMT)
committerGuido van Rossum <guido@python.org>1992-03-27 17:30:32 (GMT)
commitdcc6ef2144b17ea971c5a5ef007c4bb9e8034bfd (patch)
treeec27ef91ca27d719054e9f6bd9a5ded2a9e03d53 /Python
parentdf840d911ff204aa225a1bc5313709211dbdf383 (diff)
downloadcpython-dcc6ef2144b17ea971c5a5ef007c4bb9e8034bfd.zip
cpython-dcc6ef2144b17ea971c5a5ef007c4bb9e8034bfd.tar.gz
cpython-dcc6ef2144b17ea971c5a5ef007c4bb9e8034bfd.tar.bz2
fix HUGE and MAXVAL (suggested by Tim Peters)
Diffstat (limited to 'Python')
-rw-r--r--Python/strtod.c4
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 */