diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | stdlib/tst-strtod.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index cf0e359fd2..d458b392e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 1999-10-29 Ulrich Drepper <drepper@cygnus.com> + * stdlib/tst-strtod.c: Add more hexadecimal tests. + * stdlib/strtod.c: Handle hexadecimal numbers with leading digit != 1 correctly. diff --git a/stdlib/tst-strtod.c b/stdlib/tst-strtod.c index ac4394886e..916f44f5f6 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 } }; |