aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
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
parent86793ae758eeca100a67d1e32cb16d29e74a9149 (diff)
downloadglibc-827bb5859c2b3e0471d6273617368fc76a821e6e.tar
glibc-827bb5859c2b3e0471d6273617368fc76a821e6e.tar.gz
glibc-827bb5859c2b3e0471d6273617368fc76a821e6e.tar.bz2
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')
-rw-r--r--sysdeps/i386/fpu/libm-test-ulps8
-rw-r--r--sysdeps/x86_64/fpu/libm-test-ulps8
2 files changed, 8 insertions, 8 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
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