aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-05-02 21:06:33 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-05-02 21:06:33 +0000
commit305392eaca0be3111cdabc4b458400a6596b6970 (patch)
tree078ed45ed6fe27e53a6bb78a75613c4d65426855 /sysdeps/i386
parent51e15247c39b0483499079ba6617c8eb666941d3 (diff)
downloadglibc-305392eaca0be3111cdabc4b458400a6596b6970.zip
glibc-305392eaca0be3111cdabc4b458400a6596b6970.tar.gz
glibc-305392eaca0be3111cdabc4b458400a6596b6970.tar.bz2
Add more tests of libm functions.
This patch adds more randomly-generated tests of various libm functions 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 atan, clog, clog10, cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and tgamma. * 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-ulps32
1 files changed, 16 insertions, 16 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index 2eceadf..29930c3 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -771,9 +771,9 @@ ldouble: 2
Function: Real part of "clog10_downward":
double: 4
-float: 3
+float: 4
idouble: 4
-ifloat: 3
+ifloat: 4
ildouble: 7
ldouble: 7
@@ -787,9 +787,9 @@ ldouble: 2
Function: Real part of "clog10_towardzero":
double: 4
-float: 3
+float: 4
idouble: 4
-ifloat: 3
+ifloat: 4
ildouble: 7
ldouble: 7
@@ -798,8 +798,8 @@ double: 1
float: 1
idouble: 1
ifloat: 1
-ildouble: 2
-ldouble: 2
+ildouble: 3
+ldouble: 3
Function: Real part of "clog10_upward":
double: 4
@@ -814,8 +814,8 @@ double: 1
float: 1
idouble: 1
ifloat: 1
-ildouble: 2
-ldouble: 2
+ildouble: 3
+ldouble: 3
Function: Real part of "clog_downward":
double: 4
@@ -872,8 +872,8 @@ ldouble: 1
Function: "cos_downward":
double: 1
idouble: 1
-ildouble: 2
-ldouble: 2
+ildouble: 3
+ldouble: 3
Function: "cos_towardzero":
double: 1
@@ -1328,8 +1328,8 @@ double: 1
float: 2
idouble: 1
ifloat: 2
-ildouble: 3
-ldouble: 3
+ildouble: 4
+ldouble: 4
Function: "erfc_upward":
double: 2
@@ -1766,8 +1766,8 @@ ldouble: 1
Function: "sincos_downward":
double: 1
idouble: 1
-ildouble: 2
-ldouble: 2
+ildouble: 3
+ldouble: 3
Function: "sincos_towardzero":
double: 1
@@ -1838,8 +1838,8 @@ double: 1
float: 1
idouble: 1
ifloat: 1
-ildouble: 4
-ldouble: 3
+ildouble: 5
+ldouble: 4
Function: "tanh_towardzero":
double: 1