about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-04-30 22:32:08 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-04-30 22:32:08 +0000
commit094fca83eeaf8d7fc8478ea9fa8cdcb19e2df2de (patch)
tree68ced6e91056427fb8c3315337c8bc7278eb20b2 /sysdeps
parent0833cecd26de9cd53de834ec8f79d699a8f6e76b (diff)
downloadglibc-094fca83eeaf8d7fc8478ea9fa8cdcb19e2df2de.tar.gz
glibc-094fca83eeaf8d7fc8478ea9fa8cdcb19e2df2de.tar.xz
glibc-094fca83eeaf8d7fc8478ea9fa8cdcb19e2df2de.zip
Add further tests of cosh and sinh.
This patch adds some further 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')
-rw-r--r--sysdeps/i386/fpu/libm-test-ulps14
-rw-r--r--sysdeps/x86_64/fpu/libm-test-ulps22
2 files changed, 18 insertions, 18 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index ef8918ee47..cb93177e9c 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -1740,22 +1740,22 @@ ildouble: 2
 ldouble: 2
 
 Function: "sinh":
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
 
 Function: "sinh_downward":
-ildouble: 3
-ldouble: 4
+ildouble: 4
+ldouble: 5
 
 Function: "sinh_towardzero":
-ildouble: 2
-ldouble: 3
+ildouble: 3
+ldouble: 4
 
 Function: "sinh_upward":
 double: 1
 float: 1
 ildouble: 4
-ldouble: 4
+ldouble: 5
 
 Function: "tan":
 float: 1
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
index bbb6abc505..e943da123c 100644
--- a/sysdeps/x86_64/fpu/libm-test-ulps
+++ b/sysdeps/x86_64/fpu/libm-test-ulps
@@ -986,7 +986,7 @@ double: 1
 float: 1
 idouble: 1
 ifloat: 1
-ildouble: 1
+ildouble: 2
 ldouble: 2
 
 Function: "cosh_upward":
@@ -1880,32 +1880,32 @@ double: 1
 float: 1
 idouble: 1
 ifloat: 1
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
 
 Function: "sinh_downward":
-double: 2
+double: 3
 float: 3
-idouble: 2
+idouble: 3
 ifloat: 3
-ildouble: 4
-ldouble: 4
+ildouble: 5
+ldouble: 5
 
 Function: "sinh_towardzero":
 double: 2
 float: 2
 idouble: 2
 ifloat: 2
-ildouble: 3
-ldouble: 3
+ildouble: 4
+ldouble: 4
 
 Function: "sinh_upward":
 double: 2
 float: 3
 idouble: 2
 ifloat: 3
-ildouble: 4
-ldouble: 4
+ildouble: 5
+ldouble: 5
 
 Function: "tan":
 ildouble: 1