aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
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
parente9b1015112405ec5fda3d2939b5d1ee0406e755d (diff)
downloadglibc-efd5b641dd793fe385e1685047f2c82f4811076c.zip
glibc-efd5b641dd793fe385e1685047f2c82f4811076c.tar.gz
glibc-efd5b641dd793fe385e1685047f2c82f4811076c.tar.bz2
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')
-rw-r--r--sysdeps/i386/fpu/libm-test-ulps42
-rw-r--r--sysdeps/x86_64/fpu/libm-test-ulps84
2 files changed, 63 insertions, 63 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index 4d0246a..2c823ef 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
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
index d0d8494..abeeaf9 100644
--- a/sysdeps/x86_64/fpu/libm-test-ulps
+++ b/sysdeps/x86_64/fpu/libm-test-ulps
@@ -36,32 +36,32 @@ double: 1
float: 1
idouble: 1
ifloat: 1
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
Function: "acosh_downward":
double: 1
float: 1
idouble: 1
ifloat: 1
-ildouble: 2
-ldouble: 2
+ildouble: 4
+ldouble: 4
Function: "acosh_towardzero":
double: 1
float: 1
idouble: 1
ifloat: 1
-ildouble: 2
-ldouble: 2
+ildouble: 4
+ldouble: 4
Function: "acosh_upward":
double: 1
float: 1
idouble: 1
ifloat: 1
-ildouble: 1
-ldouble: 1
+ildouble: 3
+ldouble: 3
Function: "asin":
float: 1
@@ -98,32 +98,32 @@ double: 1
float: 1
idouble: 1
ifloat: 1
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
Function: "asinh_downward":
-double: 2
-float: 2
-idouble: 2
-ifloat: 2
-ildouble: 3
-ldouble: 3
+double: 3
+float: 3
+idouble: 3
+ifloat: 3
+ildouble: 5
+ldouble: 5
Function: "asinh_towardzero":
double: 2
float: 2
idouble: 2
ifloat: 2
-ildouble: 3
-ldouble: 3
+ildouble: 4
+ldouble: 4
Function: "asinh_upward":
-double: 2
-float: 1
-idouble: 2
-ifloat: 1
-ildouble: 3
-ldouble: 3
+double: 3
+float: 3
+idouble: 3
+ifloat: 3
+ildouble: 4
+ldouble: 4
Function: "atan2":
float: 1
@@ -184,32 +184,32 @@ double: 1
float: 1
idouble: 1
ifloat: 1
-ildouble: 1
-ldouble: 1
-
-Function: "atanh_downward":
-double: 1
-float: 1
-idouble: 1
-ifloat: 1
ildouble: 2
ldouble: 2
+Function: "atanh_downward":
+double: 2
+float: 2
+idouble: 2
+ifloat: 2
+ildouble: 5
+ldouble: 5
+
Function: "atanh_towardzero":
double: 1
-float: 1
+float: 2
idouble: 1
-ifloat: 1
-ildouble: 2
-ldouble: 2
+ifloat: 2
+ildouble: 4
+ldouble: 4
Function: "atanh_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: Real part of "cacos":
double: 1