about summary refs log tree commit diff
path: root/math/auto-libm-test-in
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 /math/auto-libm-test-in
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 'math/auto-libm-test-in')
-rw-r--r--math/auto-libm-test-in14
1 files changed, 14 insertions, 0 deletions
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in
index 9c2abded96..e60a68df4c 100644
--- a/math/auto-libm-test-in
+++ b/math/auto-libm-test-in
@@ -1087,6 +1087,10 @@ erf 108
 erf 1000
 erf max
 
+erf -0x1.ddaea4p+0
+erf -0x1.2b1f68p+0
+erf 0x1.44e722p+0
+
 erfc 0.0
 erfc -0
 erfc 0.125
@@ -1111,6 +1115,16 @@ erfc 108
 erfc 1000
 erfc max
 
+erfc 0x1.8a0c64p+0
+erfc 0x1.8a0c62p+0
+erfc 0x1.64dafap+0
+erfc 0x6.88fb08p+0
+erfc 0xd.361d9p-4
+erfc 0x8.c66b44ca40038p+0
+erfc 0x2.586f1cp+0
+erfc 0xb.acb72p+0
+erfc 0xb.227499103357d84p+0
+
 exp 0
 exp -0
 exp 1