about summary refs log tree commit diff
path: root/sysdeps/i386
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/i386
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/i386')
-rw-r--r--sysdeps/i386/fpu/libm-test-ulps13
1 files changed, 7 insertions, 6 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index 253c3e6126..a418998625 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -1709,20 +1709,21 @@ ldouble: 2
 
 Function: "sinh":
 ildouble: 1
+ldouble: 1
 
 Function: "sinh_downward":
-ildouble: 1
-ldouble: 1
+ildouble: 3
+ldouble: 4
 
 Function: "sinh_towardzero":
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 3
 
 Function: "sinh_upward":
 double: 1
 float: 1
-ildouble: 1
-ldouble: 1
+ildouble: 4
+ldouble: 4
 
 Function: "tan":
 float: 1