about summary refs log tree commit diff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-05-01 17:49:44 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-05-01 17:49:44 +0000
commitc5a3a509dfddad86b9fef84b46a172f969cb9b4b (patch)
treee103150c16ab048d96478b85918797beeda08850 /sysdeps/i386
parent44cb254f9a024db33ba549e59dc9d90355b797c9 (diff)
downloadglibc-c5a3a509dfddad86b9fef84b46a172f969cb9b4b.tar.gz
glibc-c5a3a509dfddad86b9fef84b46a172f969cb9b4b.tar.xz
glibc-c5a3a509dfddad86b9fef84b46a172f969cb9b4b.zip
Add more tests of erf, erfc.
This patch adds some randomly-generated tests of erf and erfc 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 erf and erfc.
	* 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-ulps40
1 files changed, 28 insertions, 12 deletions
diff --git a/sysdeps/i386/fpu/libm-test-ulps b/sysdeps/i386/fpu/libm-test-ulps
index 7692852a08..4d8054f54d 100644
--- a/sysdeps/i386/fpu/libm-test-ulps
+++ b/sysdeps/i386/fpu/libm-test-ulps
@@ -1285,44 +1285,60 @@ ldouble: 3
 
 Function: "erf":
 double: 1
+float: 1
 idouble: 1
+ifloat: 1
 ildouble: 1
 ldouble: 1
 
-Function: "erf_upward":
+Function: "erf_downward":
+double: 1
+idouble: 1
 ildouble: 1
 ldouble: 1
 
-Function: "erfc":
+Function: "erf_towardzero":
 double: 1
 idouble: 1
 ildouble: 1
 ldouble: 1
 
+Function: "erf_upward":
+ildouble: 1
+ldouble: 1
+
+Function: "erfc":
+double: 1
+float: 1
+idouble: 1
+ifloat: 1
+ildouble: 2
+ldouble: 2
+
 Function: "erfc_downward":
 double: 1
 float: 2
 idouble: 1
 ifloat: 2
-ildouble: 3
-ldouble: 3
+ildouble: 4
+ldouble: 4
 
 Function: "erfc_towardzero":
 double: 1
 float: 2
 idouble: 1
 ifloat: 2
-ildouble: 2
-ldouble: 2
-
-Function: "erfc_upward":
-double: 1
-float: 1
-idouble: 1
-ifloat: 1
 ildouble: 3
 ldouble: 3
 
+Function: "erfc_upward":
+double: 2
+float: 2
+idouble: 2
+ifloat: 2
+ildouble: 4
+ldouble: 4
+
 Function: "exp10":
 ildouble: 1
 ldouble: 1