about summary refs log tree commit diff
path: root/sysdeps/x86_64
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-03-24 23:48:04 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-03-24 23:48:04 +0000
commit239ed6f309d835c35c95ea0c492cbe15aa4cc7bf (patch)
tree51ca5aefd5980995254ae49d2fbef04bcf490a33 /sysdeps/x86_64
parenta737e8263a47acacdc70407729c4808c2873fdec (diff)
downloadglibc-239ed6f309d835c35c95ea0c492cbe15aa4cc7bf.tar.gz
glibc-239ed6f309d835c35c95ea0c492cbe15aa4cc7bf.tar.xz
glibc-239ed6f309d835c35c95ea0c492cbe15aa4cc7bf.zip
Add more tests of cosh, sinh.
This patch adds some randomly-generated tests of cosh and sinh 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 cosh and sinh.
	* 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')
-rw-r--r--sysdeps/x86_64/fpu/libm-test-ulps36
1 files changed, 24 insertions, 12 deletions
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
index 0c3943bfab..56752ca49c 100644
--- a/sysdeps/x86_64/fpu/libm-test-ulps
+++ b/sysdeps/x86_64/fpu/libm-test-ulps
@@ -940,7 +940,7 @@ double: 1
 float: 2
 idouble: 1
 ifloat: 2
-ildouble: 1
+ildouble: 2
 ldouble: 3
 
 Function: Real part of "cpow":
@@ -1821,25 +1821,37 @@ idouble: 1
 ildouble: 2
 ldouble: 2
 
-Function: "sinh_downward":
+Function: "sinh":
 double: 1
+float: 1
 idouble: 1
+ifloat: 1
 ildouble: 1
 ldouble: 1
 
+Function: "sinh_downward":
+double: 2
+float: 3
+idouble: 2
+ifloat: 3
+ildouble: 4
+ldouble: 4
+
 Function: "sinh_towardzero":
-double: 1
-idouble: 1
-ildouble: 1
-ldouble: 1
+double: 2
+float: 2
+idouble: 2
+ifloat: 2
+ildouble: 3
+ldouble: 3
 
 Function: "sinh_upward":
-double: 1
-float: 1
-idouble: 1
-ifloat: 1
-ildouble: 1
-ldouble: 1
+double: 2
+float: 3
+idouble: 2
+ifloat: 3
+ildouble: 4
+ldouble: 4
 
 Function: "tan":
 ildouble: 1