From 2aa562e8c7f41bbabb1f80b97927ec2eedbdf639 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 29 Oct 1999 23:54:34 +0000 Subject: [PATCH] Update. * stdlib/tst-strtod.c: Add more hexadecimal tests. --- ChangeLog | 2 ++ stdlib/tst-strtod.c | 2 ++ 2 files changed, 4 insertions(+) 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 } }; -- 2.7.4