mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Fix strtod handling of underflow (bug 14047).
This commit is contained in:
@@ -60,10 +60,10 @@ static const struct ltest tests[] =
|
||||
{ "0x00.0014p19", 160.0, '\0', 0 },
|
||||
{ "0x1p-1023",
|
||||
1.11253692925360069154511635866620203210960799023116591527666e-308,
|
||||
'\0', ERANGE },
|
||||
'\0', 0 },
|
||||
{ "0x0.8p-1022",
|
||||
1.11253692925360069154511635866620203210960799023116591527666e-308,
|
||||
'\0', ERANGE },
|
||||
'\0', 0 },
|
||||
{ "Inf", HUGE_VAL, '\0', 0 },
|
||||
{ "-Inf", -HUGE_VAL, '\0', 0 },
|
||||
{ "+InFiNiTy", HUGE_VAL, '\0', 0 },
|
||||
|
||||
Reference in New Issue
Block a user