about summary refs log tree commit diff
path: root/sysdeps/i386/i686/fpu/multiarch
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-02-17 17:44:23 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-02-17 17:44:23 +0000
commit6b8303a383660a3c7b2792246c933f8a2234d712 (patch)
tree7f81fdd2e58cfee01e76a4b50eca06a8882b1e29 /sysdeps/i386/i686/fpu/multiarch
parentf7a51347a4e369fcc51e867ef03826e99acc4fdc (diff)
downloadglibc-6b8303a383660a3c7b2792246c933f8a2234d712.tar.gz
glibc-6b8303a383660a3c7b2792246c933f8a2234d712.tar.xz
glibc-6b8303a383660a3c7b2792246c933f8a2234d712.zip
Move tests of cacos, cacosh to auto-libm-test-*.
This patch moves tests of cacos and cacosh with finite inputs to using
the auto-libm-test machinery.  Each of auto-libm-test-out-cacos and
auto-libm-test-out-cacosh takes about 80 minutes to generate on my
system because of MPC slowness on special cases that appear in the
tests (with MPC 1.0.3; I don't know to what extent current MPC master
might speed it up).

Tested for x86_64 and x86 and ulps updated accordingly.

	* math/auto-libm-test-in: Add tests of cacos and cacosh.
	* math/auto-libm-test-out-cacos: New generated file.
	* math/auto-libm-test-out-cacosh: Likewise.
	* math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
	Move tests with finite inputs to auto-libm-test-in.
	* math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
	* math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
	(libm-test-funcs-noauto): Remove cacos and cacosh.
	* sysdeps/i386/fpu/libm-test-ulps: Update.
	* sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
	* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
Diffstat (limited to 'sysdeps/i386/i686/fpu/multiarch')
-rw-r--r--sysdeps/i386/i686/fpu/multiarch/libm-test-ulps36
1 files changed, 18 insertions, 18 deletions
diff --git a/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps b/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps
index cb82d3ee36..af3fcd904b 100644
--- a/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps
+++ b/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps
@@ -238,12 +238,12 @@ ildouble: 2
 ldouble: 2
 
 Function: Imaginary part of "cacos_downward":
-double: 4
+double: 5
 float: 3
-idouble: 4
+idouble: 5
 ifloat: 3
-ildouble: 5
-ldouble: 5
+ildouble: 6
+ldouble: 6
 
 Function: Real part of "cacos_towardzero":
 double: 2
@@ -270,12 +270,12 @@ ildouble: 2
 ldouble: 2
 
 Function: Imaginary part of "cacos_upward":
-double: 4
-float: 4
-idouble: 4
-ifloat: 4
-ildouble: 5
-ldouble: 5
+double: 7
+float: 7
+idouble: 7
+ifloat: 7
+ildouble: 7
+ldouble: 7
 
 Function: Real part of "cacosh":
 double: 1
@@ -303,11 +303,11 @@ ldouble: 5
 
 Function: Imaginary part of "cacosh_downward":
 double: 2
-float: 1
+float: 2
 idouble: 2
-ifloat: 1
-ildouble: 2
-ldouble: 2
+ifloat: 2
+ildouble: 3
+ldouble: 3
 
 Function: Real part of "cacosh_towardzero":
 double: 4
@@ -334,12 +334,12 @@ ildouble: 5
 ldouble: 5
 
 Function: Imaginary part of "cacosh_upward":
-double: 2
+double: 3
 float: 2
-idouble: 2
+idouble: 3
 ifloat: 2
-ildouble: 2
-ldouble: 2
+ildouble: 3
+ldouble: 3
 
 Function: "carg":
 double: 1