aboutsummaryrefslogtreecommitdiff
path: root/math/libm-test.inc
diff options
context:
space:
mode:
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r--math/libm-test.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 0032a83..c6ce578 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -231,6 +231,12 @@
&& MIN_EXP == -16382 \
&& MAX_EXP == 16384)
+/* The condition ibm128-libgcc is used instead of ibm128 to mark tests
+ where in principle the glibc code is OK but the tests fail because
+ of limitations of the libgcc support for that format (e.g. GCC bug
+ 59666, in non-default rounding modes). */
+#define TEST_COND_ibm128_libgcc TEST_COND_ibm128
+
/* Number of bits in NaN payload. */
#if TEST_COND_ibm128
# define PAYLOAD_DIG (DBL_MANT_DIG - 2)
@@ -428,7 +434,7 @@ init_max_error (const char *name, int exact)
libgcc/config/rs6000/ibm-ldouble-format), so do not require
better accuracy for libm functions that are exactly defined for
other formats. */
- max_valid_error = exact ? 3 : 14;
+ max_valid_error = exact ? 3 : 16;
#else
max_valid_error = exact ? 0 : 9;
#endif