about summary refs log tree commit diff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-05-01 22:17:19 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-05-01 22:17:19 +0000
commit038e4be99c48fac8dbe8b772ff673837eb22431d (patch)
treef88bd3f6eb014b405732e897932c5029f3e1c4a3 /sysdeps/i386
parenta0d31f36aa7f6101b53f3b36214ac119f678a275 (diff)
downloadglibc-038e4be99c48fac8dbe8b772ff673837eb22431d.tar.gz
glibc-038e4be99c48fac8dbe8b772ff673837eb22431d.tar.xz
glibc-038e4be99c48fac8dbe8b772ff673837eb22431d.zip
Add more tests of lgamma.
This patch adds some randomly-generated tests of lgamma 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 lgamma.
	* 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 ae64aae026..b13b5742cb 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -1438,32 +1438,32 @@ double: 1
 float: 1
 idouble: 1
 ifloat: 1
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
 
 Function: "gamma_downward":
 double: 2
 float: 2
 idouble: 2
 ifloat: 2
-ildouble: 3
-ldouble: 3
+ildouble: 5
+ldouble: 5
 
 Function: "gamma_towardzero":
 double: 2
 float: 2
 idouble: 2
 ifloat: 2
-ildouble: 2
-ldouble: 2
+ildouble: 5
+ldouble: 5
 
 Function: "gamma_upward":
 double: 2
 float: 3
 idouble: 2
 ifloat: 3
-ildouble: 2
-ldouble: 2
+ildouble: 4
+ldouble: 4
 
 Function: "hypot":
 ildouble: 1
@@ -1564,32 +1564,32 @@ double: 1
 float: 1
 idouble: 1
 ifloat: 1
-ildouble: 1
-ldouble: 1
+ildouble: 2
+ldouble: 2
 
 Function: "lgamma_downward":
 double: 2
 float: 2
 idouble: 2
 ifloat: 2
-ildouble: 3
-ldouble: 3
+ildouble: 5
+ldouble: 5
 
 Function: "lgamma_towardzero":
 double: 2
 float: 2
 idouble: 2
 ifloat: 2
-ildouble: 2
-ldouble: 2
+ildouble: 5
+ldouble: 5
 
 Function: "lgamma_upward":
 double: 2
 float: 3
 idouble: 2
 ifloat: 3
-ildouble: 2
-ldouble: 2
+ildouble: 4
+ldouble: 4
 
 Function: "log":
 ildouble: 1