diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/dtoa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/dtoa.c b/Python/dtoa.c index 8389eb2..59833a0 100644 --- a/Python/dtoa.c +++ b/Python/dtoa.c @@ -1303,7 +1303,7 @@ bigcomp(U *rv, const char *s0, BCinfo *bc) if (dd) goto ret; if (!b->x[0] && b->wds == 1) { - if (i < nd) + if (i < nd - 1) dd = 1; goto ret; } @@ -1319,7 +1319,7 @@ bigcomp(U *rv, const char *s0, BCinfo *bc) if (dd) goto ret; if (!b->x[0] && b->wds == 1) { - if (i < nd) + if (i < nd - 1) dd = 1; goto ret; } |