From: Ulrich Drepper Date: Thu, 22 May 2008 19:59:10 +0000 (+0000) Subject: Work around braindead IBM128 long double format. X-Git-Tag: cvs/fedora-glibc-20080524T2218~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fb0af98d8fcbdad7a982b41e6b0fe65b7d3b45d;p=thirdparty%2Fglibc.git Work around braindead IBM128 long double format. --- diff --git a/math/libm-test.inc b/math/libm-test.inc index 267d6077e15..6d9a3ec6cbe 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -2511,8 +2511,8 @@ exp_test (void) TEST_f_f (exp, 0.75L, 2.11700001661267466854536981983709561L); TEST_f_f (exp, 50.0L, 5184705528587072464087.45332293348538L); TEST_f_f (exp, 88.72269439697265625L, 3.40233126623160774937554134772290447915e38L); -#ifdef TEST_LDOUBLE - /* The result can only be represented in long double. */ +#if defined TEST_LDOUBLE && __LDBL_MAX_EXP__ > 1024 + /* The result can only be represented in sane long double. */ TEST_f_f (exp, 1000.0L, 0.197007111401704699388887935224332313e435L); #endif