about summary refs log tree commit diff
path: root/sysdeps/x86_64/fpu
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/x86_64/fpu
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/x86_64/fpu')
-rw-r--r--sysdeps/x86_64/fpu/libm-test-ulps8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
index ab2b0b7ed4..7fd3a3c591 100644
--- a/sysdeps/x86_64/fpu/libm-test-ulps
+++ b/sysdeps/x86_64/fpu/libm-test-ulps
@@ -956,8 +956,8 @@ ldouble: 2
 Function: "cos_towardzero":
 double: 1
 idouble: 1
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
 
 Function: "cos_upward":
 double: 1
@@ -1910,8 +1910,8 @@ ldouble: 2
 Function: "sincos_towardzero":
 double: 1
 idouble: 1
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
 
 Function: "sincos_upward":
 double: 1