1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
* stdlib/tst-strtod.c: Disable HUGE_VAL tests for older GCCs.
This commit is contained in:
Andreas Jaeger
2001-08-07 17:33:37 +00:00
parent 9ec9864b21
commit c5df5186db
2 changed files with 5 additions and 0 deletions

View File

@ -65,9 +65,12 @@ static const struct ltest tests[] =
{ "0x0.8p-1022",
1.11253692925360069154511635866620203210960799023116591527666e-308,
'\0', 0 },
#if __GNUC_PREREQ(2,96)
/* For older GCC release HUGE_VAL is not a constant. */
{ "Inf", HUGE_VAL, '\0', 0 },
{ "-Inf", -HUGE_VAL, '\0', 0 },
{ "+InFiNiTy", HUGE_VAL, '\0', 0 },
#endif
{ NULL, 0, '\0', 0 }
};