diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-02-22 09:12:20 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-02-22 09:12:20 +0000 |
commit | e57f9f7526df164a7e337b4e91e34e9d75cb1e2c (patch) | |
tree | eb58ac993dab5537b12665b3d19a69f4cd81ffbf | |
parent | 286a45c522492350d40b1804c96b43c6aefbfecb (diff) | |
download | glibc-e57f9f7526df164a7e337b4e91e34e9d75cb1e2c.zip glibc-e57f9f7526df164a7e337b4e91e34e9d75cb1e2c.tar.gz glibc-e57f9f7526df164a7e337b4e91e34e9d75cb1e2c.tar.bz2 |
Update.
2003-02-22 Ulrich Drepper <drepper@redhat.com>
* stdlib/strtod.c (INTERNAL): Remove bogus clearing of second word
when shifting retval.
* stdlib/tst-strtod.c (main): Add strtold test case.
Reported by Fred J. Tydeman <tydeman@tybor.com>.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | stdlib/strtod.c | 3 |
2 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,10 @@ +2003-02-22 Ulrich Drepper <drepper@redhat.com> + + * stdlib/strtod.c (INTERNAL): Remove bogus clearing of second word + when shifting retval. + * stdlib/tst-strtod.c (main): Add strtold test case. + Reported by Fred J. Tydeman <tydeman@tybor.com>. + 2003-02-21 Roland McGrath <roland@redhat.com> * malloc/thread-freeres.c: Conditionalize on _LIBC_REENTRANT. diff --git a/stdlib/strtod.c b/stdlib/strtod.c index 45e5abf..94b1c5d 100644 --- a/stdlib/strtod.c +++ b/stdlib/strtod.c @@ -1473,9 +1473,6 @@ INTERNAL (STRTOF) (nptr, endptr, group LOCALE_PARAM) for (i = RETURN_LIMB_SIZE; i > empty; --i) retval[i] = retval[i - empty]; #endif -#if RETURN_LIMB_SIZE > 1 - retval[1] = 0; -#endif for (i = numsize; i > 0; --i) num[i + empty] = num[i - 1]; MPN_ZERO (num, empty + 1); |