aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-12-05 14:01:41 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-12-05 14:01:41 +0000
commite47cc4e0ed06f4167b6bd8ac39e12d094e0dc474 (patch)
tree1a1f08bd5751795b08e013f499f49df0830917fc /sysdeps
parentbbf37bdc12c0370a0ac2fa597cddd660bad6ec5e (diff)
downloadglibc-e47cc4e0ed06f4167b6bd8ac39e12d094e0dc474.zip
glibc-e47cc4e0ed06f4167b6bd8ac39e12d094e0dc474.tar.gz
glibc-e47cc4e0ed06f4167b6bd8ac39e12d094e0dc474.tar.bz2
Fix tgamma errno setting on underflow (bug 6810).
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/i386/fpu/libm-test-ulps3
-rw-r--r--sysdeps/x86_64/fpu/libm-test-ulps3
2 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index a617174..cf55e13 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -8986,6 +8986,9 @@ ldouble: 1
Test "tgamma (0x3.8p+0)":
float: 1
ifloat: 1
+Test "tgamma (0x3.e8p+8)":
+ildouble: 1
+ldouble: 1
Test "tgamma (0x3.fffffcp+0)":
float: 1
ifloat: 1
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
index 01aa36f..7331577 100644
--- a/sysdeps/x86_64/fpu/libm-test-ulps
+++ b/sysdeps/x86_64/fpu/libm-test-ulps
@@ -10038,6 +10038,9 @@ ldouble: 1
Test "tgamma (0x3.8p+0)":
float: 2
ifloat: 2
+Test "tgamma (0x3.e8p+8)":
+ildouble: 1
+ldouble: 1
Test "tgamma (0x3.fffffcp+0)":
float: 1
ifloat: 1