aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-05-01 23:15:07 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-05-01 23:15:07 +0000
commit51e15247c39b0483499079ba6617c8eb666941d3 (patch)
tree3b5aed7999d96d801f2c42370f80dedd51e95a55 /sysdeps
parent5ffb9a53d7d8dec873b272d162ba4f84452a3d03 (diff)
downloadglibc-51e15247c39b0483499079ba6617c8eb666941d3.zip
glibc-51e15247c39b0483499079ba6617c8eb666941d3.tar.gz
glibc-51e15247c39b0483499079ba6617c8eb666941d3.tar.bz2
Add more tests of tgamma.
This patch adds some randomly-generated tests of tgamma 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 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')
-rw-r--r--sysdeps/i386/fpu/libm-test-ulps12
-rw-r--r--sysdeps/x86_64/fpu/libm-test-ulps12
2 files changed, 12 insertions, 12 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index 10e0ca6..2eceadf 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -1854,12 +1854,12 @@ ildouble: 5
ldouble: 4
Function: "tgamma":
-double: 4
-float: 2
-idouble: 4
-ifloat: 2
-ildouble: 4
-ldouble: 4
+double: 6
+float: 4
+idouble: 6
+ifloat: 4
+ildouble: 6
+ldouble: 6
Function: "y0":
double: 1
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
index 9fd710b..97e279c 100644
--- a/sysdeps/x86_64/fpu/libm-test-ulps
+++ b/sysdeps/x86_64/fpu/libm-test-ulps
@@ -2014,12 +2014,12 @@ ildouble: 4
ldouble: 4
Function: "tgamma":
-double: 4
-float: 3
-idouble: 4
-ifloat: 3
-ildouble: 4
-ldouble: 4
+double: 9
+float: 4
+idouble: 9
+ifloat: 4
+ildouble: 6
+ldouble: 6
Function: "y0":
double: 2