diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-09-30 18:06:02 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-09-30 18:06:02 +0000 |
commit | 93e448cbed1095c88133f2a304b1bbba72e480af (patch) | |
tree | 0094ff374778e476b37992ff5ebb8312b83276ca /NEWS | |
parent | f6d1d86d0c2cca118fd6a7734ea0ccd72b51c4b4 (diff) | |
download | glibc-93e448cbed1095c88133f2a304b1bbba72e480af.tar.gz glibc-93e448cbed1095c88133f2a304b1bbba72e480af.tar.xz glibc-93e448cbed1095c88133f2a304b1bbba72e480af.zip |
Improve test coverage of real libm functions [a-e]*.
This patch improves test coverage of the real libm functions [a-e]*, ensuring that special cases and ranges of input values of potential significance (such as close to overflow and underflow thresholds) are more systematically covered. This is a followup to <https://sourceware.org/ml/libc-alpha/2013-12/msg00757.html> which covered [a-c]* (however, I found more weaknesses in the coverage of those functions when preparing this patch, hence the additional tests being added for them here). Addition of a test for acosh (-qNaN) is temporarily deferred, to be included as part of a fix for bug 19032 which was discovered in the course of adding these tests (and which illustrates the use of testing -qNaN as well as +qNaN as input even to functions for which the sign of a NaN isn't meant to be significant). Tested for x86_64 and x86. * math/auto-libm-test-in: Add more tests of acos, acosh, asin, atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2 and expm1. * math/auto-libm-test-out: Regenerated. * math/libm-test.inc (acos_test_data): Add more tests. (asin_test_data): Likewise. (asinh_test_data): Likewise. (atan_test_data): Likewise. (atanh_test_data): Likewise. (atan2_test_data): Likewise. (cbrt_test_data): Likewise. (ceil_test_data): Likewise. (copysign_test_data): Likewise. (cos_test_data): Likewise. (cosh_test_data): Likewise. (erf_test_data): Likewise. (erfc_test_data): Likewise. (exp_test_data): Likewise. (exp10_test_data): Likewise. (exp2_test_data): Likewise. (expm1_test_data): Likewise. * sysdeps/x86_64/fpu/libm-test-ulps: Update.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions