From 6f6fc48226fa2144379d394b0ac91447a27c1639 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 19 Dec 2013 17:21:01 +0000 Subject: 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. --- sysdeps/x86_64/fpu/libm-test-ulps | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sysdeps/x86_64') diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps index a4fa4a2..7e612b0 100644 --- a/sysdeps/x86_64/fpu/libm-test-ulps +++ b/sysdeps/x86_64/fpu/libm-test-ulps @@ -9120,6 +9120,12 @@ float: 1 ifloat: 1 # sincos +Test "sincos (0x1.921fb4p+0) extra output 2": +ildouble: 1 +ldouble: 1 +Test "sincos (0xf.ffffffffffff8p+1020) extra output 1": +ildouble: 1 +ldouble: 1 Test "sincos (M_PI_6l*2.0) extra output 1": double: 1 float: 1 -- cgit v1.1