about summary refs log tree commit diff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-05-01 22:41:00 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-05-01 22:41:00 +0000
commit827bb5859c2b3e0471d6273617368fc76a821e6e (patch)
tree478400f7c041db806e684ef287130b6bc4b45625 /sysdeps/i386
parent86793ae758eeca100a67d1e32cb16d29e74a9149 (diff)
downloadglibc-827bb5859c2b3e0471d6273617368fc76a821e6e.tar.gz
glibc-827bb5859c2b3e0471d6273617368fc76a821e6e.tar.xz
glibc-827bb5859c2b3e0471d6273617368fc76a821e6e.zip
Add more tests of cos, sin, sincos.
This patch adds some randomly-generated tests of cos, sin and sincos
that are observed to increase ulps on x86_64.

Tested for x86_64 and x86 and ulps updated accordingly.

	* math/auto-libm-test-in: Add more tests of cos, sin and sincos.
	* math/auto-libm-test-out: Regenerated.
	* sysdeps/i386/fpu/libm-test-ulps: Update.
	* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/fpu/libm-test-ulps8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index b13b5742cb..bb894e59ca 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -878,8 +878,8 @@ ldouble: 2
 Function: "cos_towardzero":
 double: 1
 idouble: 1
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
 
 Function: "cos_upward":
 double: 1
@@ -1772,8 +1772,8 @@ ldouble: 2
 Function: "sincos_towardzero":
 double: 1
 idouble: 1
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
 
 Function: "sincos_upward":
 double: 1