about summary refs log tree commit diff
path: root/sysdeps/x86_64/fpu/libm-test-ulps
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/x86_64/fpu/libm-test-ulps
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/x86_64/fpu/libm-test-ulps')
-rw-r--r--sysdeps/x86_64/fpu/libm-test-ulps54
1 files changed, 32 insertions, 22 deletions
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
index 22dfe5f435..2a7cc4ddbf 100644
--- a/sysdeps/x86_64/fpu/libm-test-ulps
+++ b/sysdeps/x86_64/fpu/libm-test-ulps
@@ -1369,17 +1369,27 @@ ldouble: 3
 
 Function: "erf":
 double: 1
+float: 1
 idouble: 1
+ifloat: 1
 ildouble: 1
 ldouble: 1
 
 Function: "erf_downward":
+double: 1
 float: 1
+idouble: 1
 ifloat: 1
+ildouble: 1
+ldouble: 1
 
 Function: "erf_towardzero":
+double: 1
 float: 1
+idouble: 1
 ifloat: 1
+ildouble: 1
+ldouble: 1
 
 Function: "erf_upward":
 float: 1
@@ -1388,37 +1398,37 @@ ildouble: 1
 ldouble: 1
 
 Function: "erfc":
-double: 1
-float: 1
-idouble: 1
-ifloat: 1
-ildouble: 1
-ldouble: 1
+double: 2
+float: 2
+idouble: 2
+ifloat: 2
+ildouble: 2
+ldouble: 2
 
 Function: "erfc_downward":
-double: 1
-float: 3
-idouble: 1
-ifloat: 3
-ildouble: 3
-ldouble: 3
+double: 3
+float: 5
+idouble: 3
+ifloat: 5
+ildouble: 4
+ldouble: 4
 
 Function: "erfc_towardzero":
-double: 1
+double: 3
 float: 3
-idouble: 1
+idouble: 3
 ifloat: 3
-ildouble: 2
-ldouble: 2
-
-Function: "erfc_upward":
-double: 2
-float: 2
-idouble: 2
-ifloat: 2
 ildouble: 3
 ldouble: 3
 
+Function: "erfc_upward":
+double: 4
+float: 5
+idouble: 4
+ifloat: 5
+ildouble: 4
+ldouble: 4
+
 Function: "exp10":
 double: 1
 idouble: 1