aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-03-25 00:30:10 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-03-25 00:30:10 +0000
commit8d6439712db3de86939bd4d3784562778cefcadc (patch)
treef4ebfdc44f529b273b43064b02c27ff07197aa32 /sysdeps
parentbc899ea0901b8163b03f0d7ffb2cf2c88fb3e649 (diff)
downloadglibc-8d6439712db3de86939bd4d3784562778cefcadc.zip
glibc-8d6439712db3de86939bd4d3784562778cefcadc.tar.gz
glibc-8d6439712db3de86939bd4d3784562778cefcadc.tar.bz2
Add more tests of acos.
This patch adds some randomly-generated tests of acos 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 acos. * 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-ulps12
-rw-r--r--sysdeps/x86_64/fpu/libm-test-ulps20
2 files changed, 20 insertions, 12 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index 76eaea4..3eb9d82 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -6,16 +6,16 @@ ildouble: 1
ldouble: 1
Function: "acos_downward":
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
Function: "acos_towardzero":
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
Function: "acos_upward":
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
Function: "acosh":
ildouble: 1
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
index 488ff36..f221ebc 100644
--- a/sysdeps/x86_64/fpu/libm-test-ulps
+++ b/sysdeps/x86_64/fpu/libm-test-ulps
@@ -2,26 +2,34 @@
# Maximal error of functions:
Function: "acos":
+float: 1
+ifloat: 1
ildouble: 1
ldouble: 1
Function: "acos_downward":
+double: 1
float: 1
+idouble: 1
ifloat: 1
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
Function: "acos_towardzero":
+double: 1
float: 1
+idouble: 1
ifloat: 1
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
Function: "acos_upward":
double: 1
+float: 1
idouble: 1
-ildouble: 1
-ldouble: 1
+ifloat: 1
+ildouble: 2
+ldouble: 2
Function: "acosh":
double: 1