aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan S. Arnold <rsa@us.ibm.com>2009-07-24 10:21:04 -0500
committerRyan Arnold <ryanarn@etna.rchland.ibm.com>2009-07-24 15:10:54 -0500
commit8645b695f1b7e4d17df66a204fa7514342da5acc (patch)
tree2acc59fd74e0d4d6561b889895b9796c0fd5b963
parentedcdec2249c2e03ac30204d6f3270e7f3f6a31da (diff)
downloadglibc-8645b695f1b7e4d17df66a204fa7514342da5acc.zip
glibc-8645b695f1b7e4d17df66a204fa7514342da5acc.tar.gz
glibc-8645b695f1b7e4d17df66a204fa7514342da5acc.tar.bz2
Fix to exclude test when IBM 128-bit long double is being used in order to avoid representing an exponent that is out of bounds.
commit 8fb0af98d8fcbdad7a982b41e6b0fe65b7d3b45d Author: Ulrich Drepper <drepper@redhat.com> Date: Thu May 22 19:59:10 2008 +0000 Work around braindead IBM128 long double format.
-rw-r--r--math/libm-test.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 267d607..6d9a3ec 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