mirror of git://sourceware.org/git/glibc.git
Update.
* stdlib/tst-strtod.c: Add more hexadecimal tests.
This commit is contained in:
parent
c603b15b44
commit
2aa562e8c7
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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 }
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue