diff options
-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 6a93aef..4b2c6c3 100644 --- a/Python/dtoa.c +++ b/Python/dtoa.c @@ -2084,9 +2084,9 @@ _Py_dg_strtod(const char *s00, char **se) if (!odd) break; if (dsign) - dval(&rv) += ulp(&rv); + dval(&rv) += sulp(&rv, &bc); else { - dval(&rv) -= ulp(&rv); + dval(&rv) -= sulp(&rv, &bc); if (!dval(&rv)) { if (bc.nd >nd) break; |