about summary refs log tree commit diff
path: root/sysdeps/i386/fpu
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-12-19 17:21:01 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-12-19 17:21:01 +0000
commit6f6fc48226fa2144379d394b0ac91447a27c1639 (patch)
treebe015217a5315e2a2347028ead4352f4c1183395 /sysdeps/i386/fpu
parent83f5c32d21f7616e1833ca0f8a1555990d9b7a68 (diff)
downloadglibc-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 'sysdeps/i386/fpu')
-rw-r--r--sysdeps/i386/fpu/libm-test-ulps6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index 6b154bc0b8..ca16bc5e53 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -8084,6 +8084,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