From: Ulrich Drepper Date: Fri, 29 Oct 1999 23:54:34 +0000 (+0000) Subject: Update. X-Git-Tag: upstream/2.30~26629 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2aa562e8c7f41bbabb1f80b97927ec2eedbdf639;p=external%2Fglibc.git Update. * stdlib/tst-strtod.c: Add more hexadecimal tests. --- diff --git a/ChangeLog b/ChangeLog index cf0e359..d458b39 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 1999-10-29 Ulrich Drepper + * 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 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 } };