diff options
author | Joseph Myers <joseph@codesourcery.com> | 2016-05-26 18:07:04 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2016-05-26 18:07:04 +0000 |
commit | 960be82cc2b256eded9242bd428ddd2dc4f89275 (patch) | |
tree | 523c772e72b2b9f247bfa5c83ce5824ea87b36e3 /ChangeLog | |
parent | 262112840ca3807d2e5c7227a476be88be5740a7 (diff) | |
download | glibc-960be82cc2b256eded9242bd428ddd2dc4f89275.zip glibc-960be82cc2b256eded9242bd428ddd2dc4f89275.tar.gz glibc-960be82cc2b256eded9242bd428ddd2dc4f89275.tar.bz2 |
Add more sNaN tests to libm-test.inc.
This patch adds more tests of signaling NaN inputs to libm-test.inc.
These tests are for a subset of functions with a single floating-point
input where no failures appeared in x86_64 or x86 testing. I intend
to investigate any failures of these new tests on some other
architectures before dealing with other functions.
Tested for x86_64 and x86.
* math/libm-test.inc (acosh_test_data): Add sNaN tests.
(atan_test_data): Likewise.
(ceil_test_data): Likewise.
(cos_test_data): Likewise.
(cosh_test_data): Likewise.
(erf_test_data): Likewise.
(exp2_test_data): Likewise.
(fabs_test_data): Likewise.
(floor_test_data): Likewise.
(ilogb_test_data): Likewise.
(j0_test_data): Likewise.
(j1_test_data): Likewise.
(jn_test_data): Likewise.
(lgamma_test_data): Likewise.
(lrint_test_data): Likewise.
(llrint_test_data): Likewise.
(logb_test_data): Likewise.
(lround_test_data): Likewise.
(llround_test_data): Likewise.
(nearbyint_test_data): Likewise.
(rint_test_data): Likewise.
(round_test_data): Likewise.
(sin_test_data): Likewise.
(sincos_test_data): Likewise.
(sinh_test_data): Likewise.
(sqrt_test_data): Likewise.
(tan_test_data): Likewise.
(tanh_test_data): Likewise.
(tgamma_test_data): Likewise.
(trunc_test_data): Likewise.
(y0_test_data): Likewise.
(y1_test_data): Likewise.
(yn_test_data): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 34 |
1 files changed, 34 insertions, 0 deletions
@@ -1,5 +1,39 @@ 2016-05-26 Joseph Myers <joseph@codesourcery.com> + * math/libm-test.inc (acosh_test_data): Add sNaN tests. + (atan_test_data): Likewise. + (ceil_test_data): Likewise. + (cos_test_data): Likewise. + (cosh_test_data): Likewise. + (erf_test_data): Likewise. + (exp2_test_data): Likewise. + (fabs_test_data): Likewise. + (floor_test_data): Likewise. + (ilogb_test_data): Likewise. + (j0_test_data): Likewise. + (j1_test_data): Likewise. + (jn_test_data): Likewise. + (lgamma_test_data): Likewise. + (lrint_test_data): Likewise. + (llrint_test_data): Likewise. + (logb_test_data): Likewise. + (lround_test_data): Likewise. + (llround_test_data): Likewise. + (nearbyint_test_data): Likewise. + (rint_test_data): Likewise. + (round_test_data): Likewise. + (sin_test_data): Likewise. + (sincos_test_data): Likewise. + (sinh_test_data): Likewise. + (sqrt_test_data): Likewise. + (tan_test_data): Likewise. + (tanh_test_data): Likewise. + (tgamma_test_data): Likewise. + (trunc_test_data): Likewise. + (y0_test_data): Likewise. + (y1_test_data): Likewise. + (yn_test_data): Likewise. + * math/libm-test.inc: Update comment about NaN testing. (TEST_SNAN): New macro. (snan_value): Likewise. |