aboutsummaryrefslogtreecommitdiff
path: root/stdlib/tst-strtod.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-20 01:10:57 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-20 01:10:57 +0000
commit85b5767c57eecaad6aea0967444f5e5d42a4cc17 (patch)
treec8ee1e31f1bb23da5bcd3a7926039110374f1d00 /stdlib/tst-strtod.c
parent350e9b8552f904e83068a1cd46d4a089df3f2d0a (diff)
downloadglibc-85b5767c57eecaad6aea0967444f5e5d42a4cc17.tar
glibc-85b5767c57eecaad6aea0967444f5e5d42a4cc17.tar.gz
glibc-85b5767c57eecaad6aea0967444f5e5d42a4cc17.tar.bz2
glibc-85b5767c57eecaad6aea0967444f5e5d42a4cc17.zip
Update.
* stdlib/strtod.c (INTERNAL): While eating trailing zeros handling hexdigits correctly. Reported by Fred Tydeman <tydeman@tybor.com>. * stdlib/tst-strtod.c: Add test for the bug.
Diffstat (limited to 'stdlib/tst-strtod.c')
-rw-r--r--stdlib/tst-strtod.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/tst-strtod.c b/stdlib/tst-strtod.c
index cf5533da3e..c466e0fb77 100644
--- a/stdlib/tst-strtod.c
+++ b/stdlib/tst-strtod.c
@@ -71,6 +71,7 @@ static const struct ltest tests[] =
{ "-Inf", -HUGE_VAL, '\0', 0 },
{ "+InFiNiTy", HUGE_VAL, '\0', 0 },
#endif
+ { "0x80000Ap-23", 0x80000Ap-23, '\0', 0 },
{ NULL, 0, '\0', 0 }
};