diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-11-22 19:57:58 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-11-22 19:57:58 +0000 |
commit | 7184dcdf2683af79b855926b1a63f0c00763f643 (patch) | |
tree | 4178ae20c10bdb8c240f686664e5fad60aa068d7 | |
parent | 0a42601f272ea962b200d452a54e0ca374163f60 (diff) | |
download | glibc-7184dcdf2683af79b855926b1a63f0c00763f643.tar.gz glibc-7184dcdf2683af79b855926b1a63f0c00763f643.tar.xz glibc-7184dcdf2683af79b855926b1a63f0c00763f643.zip |
Disable some fma tests for ldbl-128ibm.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | math/libm-test.inc | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 56c1af121c..cf2ffb4984 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2012-11-22 Joseph Myers <joseph@codesourcery.com> + * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE && + LDBL_MANT_DIG == 106]: Disable some tests. + (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]: + Likewise. + (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]: + Likewise. + [BZ #14871] * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the input for small inputs. Return +/- pi/2 for large inputs. diff --git a/math/libm-test.inc b/math/libm-test.inc index cae2de43bb..c0265113ca 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -4897,6 +4897,7 @@ fma_test_towardzero (void) TEST_fff_f (fma, -min_value, -min_value, plus_zero, plus_zero, UNDERFLOW_EXCEPTION); TEST_fff_f (fma, -min_value, -min_value, minus_zero, plus_zero, UNDERFLOW_EXCEPTION); +#if !(defined TEST_LDOUBLE && LDBL_MANT_DIG == 106) /* Bug 13304. */ TEST_fff_f (fma, max_value, max_value, min_value, max_value, OVERFLOW_EXCEPTION); TEST_fff_f (fma, max_value, max_value, -min_value, max_value, OVERFLOW_EXCEPTION); TEST_fff_f (fma, max_value, -max_value, min_value, -max_value, OVERFLOW_EXCEPTION); @@ -4905,6 +4906,7 @@ fma_test_towardzero (void) TEST_fff_f (fma, -max_value, max_value, -min_value, -max_value, OVERFLOW_EXCEPTION); TEST_fff_f (fma, -max_value, -max_value, min_value, max_value, OVERFLOW_EXCEPTION); TEST_fff_f (fma, -max_value, -max_value, -min_value, max_value, OVERFLOW_EXCEPTION); +#endif #if defined (TEST_FLOAT) && FLT_MANT_DIG == 24 TEST_fff_f (fma, 0x1.4p-126, 0x1.000004p-1, 0x1p-128, 0x1.c00004p-127, UNDERFLOW_EXCEPTION); @@ -5115,6 +5117,7 @@ fma_test_downward (void) TEST_fff_f (fma, -min_value, -min_value, plus_zero, plus_zero, UNDERFLOW_EXCEPTION); TEST_fff_f (fma, -min_value, -min_value, minus_zero, plus_zero, UNDERFLOW_EXCEPTION); +#if !(defined TEST_LDOUBLE && LDBL_MANT_DIG == 106) /* Bug 13304. */ TEST_fff_f (fma, max_value, max_value, min_value, max_value, OVERFLOW_EXCEPTION); TEST_fff_f (fma, max_value, max_value, -min_value, max_value, OVERFLOW_EXCEPTION); TEST_fff_f (fma, max_value, -max_value, min_value, minus_infty, OVERFLOW_EXCEPTION); @@ -5123,6 +5126,7 @@ fma_test_downward (void) TEST_fff_f (fma, -max_value, max_value, -min_value, minus_infty, OVERFLOW_EXCEPTION); TEST_fff_f (fma, -max_value, -max_value, min_value, max_value, OVERFLOW_EXCEPTION); TEST_fff_f (fma, -max_value, -max_value, -min_value, max_value, OVERFLOW_EXCEPTION); +#endif #if defined (TEST_FLOAT) && FLT_MANT_DIG == 24 TEST_fff_f (fma, 0x1.4p-126, 0x1.000004p-1, 0x1p-128, 0x1.c00004p-127, UNDERFLOW_EXCEPTION); @@ -5333,6 +5337,7 @@ fma_test_upward (void) TEST_fff_f (fma, -min_value, -min_value, plus_zero, min_subnorm_value, UNDERFLOW_EXCEPTION); TEST_fff_f (fma, -min_value, -min_value, minus_zero, min_subnorm_value, UNDERFLOW_EXCEPTION); +#if !(defined TEST_LDOUBLE && LDBL_MANT_DIG == 106) /* Bug 13304. */ TEST_fff_f (fma, max_value, max_value, min_value, plus_infty, OVERFLOW_EXCEPTION); TEST_fff_f (fma, max_value, max_value, -min_value, plus_infty, OVERFLOW_EXCEPTION); TEST_fff_f (fma, max_value, -max_value, min_value, -max_value, OVERFLOW_EXCEPTION); @@ -5341,6 +5346,7 @@ fma_test_upward (void) TEST_fff_f (fma, -max_value, max_value, -min_value, -max_value, OVERFLOW_EXCEPTION); TEST_fff_f (fma, -max_value, -max_value, min_value, plus_infty, OVERFLOW_EXCEPTION); TEST_fff_f (fma, -max_value, -max_value, -min_value, plus_infty, OVERFLOW_EXCEPTION); +#endif #if defined (TEST_FLOAT) && FLT_MANT_DIG == 24 TEST_fff_f (fma, 0x1.4p-126, 0x1.000004p-1, 0x1p-128, 0x1.c00008p-127, UNDERFLOW_EXCEPTION); |