diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-12-19 17:21:01 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-12-19 17:21:01 +0000 |
commit | 6f6fc48226fa2144379d394b0ac91447a27c1639 (patch) | |
tree | be015217a5315e2a2347028ead4352f4c1183395 /math/auto-libm-test-in | |
parent | 83f5c32d21f7616e1833ca0f8a1555990d9b7a68 (diff) | |
download | glibc-6f6fc48226fa2144379d394b0ac91447a27c1639.tar.gz glibc-6f6fc48226fa2144379d394b0ac91447a27c1639.tar.xz glibc-6f6fc48226fa2144379d394b0ac91447a27c1639.zip |
Move tests of sincos from libm-test.inc to auto-libm-test-in.
This patch moves tests of sincos to auto-libm-test-in, adding the required support to gen-auto-libm-tests. Tested x86_64 and x86 and ulps updated accordingly. (auto-libm-test-out diffs omitted below.) * math/auto-libm-test-in: Add tests of sincos. * math/auto-libm-test-out: Regenerated. * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11. * math/gen-auto-libm-tests.c (func_calc_method): Add value mpfr_f_11. (func_calc_desc): Add mpfr_f_11 union field. (test_functions): Add sincos. (calc_generic_results): Handle mpfr_f_11. * sysdeps/i386/fpu/libm-test-ulps: Update. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
Diffstat (limited to 'math/auto-libm-test-in')
-rw-r--r-- | math/auto-libm-test-in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in index 28e9d455b6..49f6604728 100644 --- a/math/auto-libm-test-in +++ b/math/auto-libm-test-in @@ -848,6 +848,25 @@ sin 8 sin 9 sin 10 +sincos 0 +sincos -0 +sincos pi/2 +sincos pi/6 +sincos pi/3 +sincos 0.75 +sincos 0x1p65 +sincos -0x1p65 +sincos 0.80190127184058835 +sincos 1e22 +sincos 0x1p1023 +sincos 0x1p16383 +sincos 0x1p+120 +sincos 0x1p+127 +sincos 0x1.fffff8p+127 +sincos 0x1.fffffep+127 +sincos 0x1p+50 +sincos 0x1p+28 + sinh 0 sinh -0 sinh 0.75 |