about summary refs log tree commit diff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-03-25 22:21:20 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-03-25 22:21:20 +0000
commitefd5b641dd793fe385e1685047f2c82f4811076c (patch)
tree4fc3a314385ff03f74ab1d346c2dbfd1258a7f4f /sysdeps/i386
parente9b1015112405ec5fda3d2939b5d1ee0406e755d (diff)
downloadglibc-efd5b641dd793fe385e1685047f2c82f4811076c.tar.gz
glibc-efd5b641dd793fe385e1685047f2c82f4811076c.tar.xz
glibc-efd5b641dd793fe385e1685047f2c82f4811076c.zip
Add more tests of acosh, asinh and atanh.
This patch adds some randomly-generated tests of acosh, asinh and
atanh 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 acosh, asinh and
	atanh.
	* 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-ulps42
1 files changed, 21 insertions, 21 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index 4d0246a1d0..2c823eff8f 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -18,20 +18,20 @@ ildouble: 2
 ldouble: 2
 
 Function: "acosh":
-ildouble: 1
-ldouble: 1
-
-Function: "acosh_downward":
 ildouble: 2
 ldouble: 2
 
+Function: "acosh_downward":
+ildouble: 4
+ldouble: 4
+
 Function: "acosh_towardzero":
-ildouble: 2
-ldouble: 2
+ildouble: 4
+ldouble: 4
 
 Function: "acosh_upward":
-ildouble: 1
-ldouble: 1
+ildouble: 3
+ldouble: 3
 
 Function: "asin":
 ildouble: 1
@@ -54,20 +54,20 @@ ildouble: 1
 ldouble: 1
 
 Function: "asinh":
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
 
 Function: "asinh_downward":
 double: 1
 float: 1
-ildouble: 3
-ldouble: 3
+ildouble: 5
+ldouble: 5
 
 Function: "asinh_towardzero":
 double: 1
 float: 1
-ildouble: 3
-ldouble: 3
+ildouble: 4
+ldouble: 4
 
 Function: "asinh_upward":
 double: 1
@@ -75,7 +75,7 @@ float: 1
 idouble: 1
 ifloat: 1
 ildouble: 5
-ldouble: 3
+ldouble: 4
 
 Function: "atan2":
 ildouble: 1
@@ -130,8 +130,8 @@ ildouble: 1
 ldouble: 1
 
 Function: "atanh":
-ildouble: 2
-ldouble: 1
+ildouble: 3
+ldouble: 2
 
 Function: "atanh_downward":
 double: 1
@@ -139,7 +139,7 @@ float: 1
 idouble: 1
 ifloat: 1
 ildouble: 2
-ldouble: 1
+ldouble: 4
 
 Function: "atanh_towardzero":
 double: 1
@@ -147,13 +147,13 @@ float: 1
 idouble: 1
 ifloat: 1
 ildouble: 4
-ldouble: 1
+ldouble: 3
 
 Function: "atanh_upward":
 idouble: 1
 ifloat: 1
-ildouble: 3
-ldouble: 2
+ildouble: 4
+ldouble: 4
 
 Function: Real part of "cacos":
 double: 1