aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-29 23:54:34 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-29 23:54:34 +0000
commit2aa562e8c7f41bbabb1f80b97927ec2eedbdf639 (patch)
tree8b5e4f9471867a5271c246527d16269b17294d76 /stdlib
parentc603b15b4461161f909f9827c294ba6c1d6a4bd5 (diff)
downloadglibc-2aa562e8c7f41bbabb1f80b97927ec2eedbdf639.zip
glibc-2aa562e8c7f41bbabb1f80b97927ec2eedbdf639.tar.gz
glibc-2aa562e8c7f41bbabb1f80b97927ec2eedbdf639.tar.bz2
Update.
* stdlib/tst-strtod.c: Add more hexadecimal tests.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/tst-strtod.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stdlib/tst-strtod.c b/stdlib/tst-strtod.c
index ac43948..916f44f 100644
--- a/stdlib/tst-strtod.c
+++ b/stdlib/tst-strtod.c
@@ -40,6 +40,8 @@ static const struct ltest tests[] =
{ "4\00012", 4.0, '\0', 0 },
{ "5.9e-76", 5.9e-76, '\0', 0 },
{ "0x1.4p+3", 10.0, '\0', 0 },
+ { "0xAp0", 10.0, '\0', 0 },
+ { "0x0Ap0", 10.0, '\0', 0 },
{ "0x0A", 10.0, '\0', 0 },
{ NULL, 0, '\0', 0 }
};