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 20:33:04 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-05-01 20:33:04 +0000
commite1483b365da03e4bab3882e30872ed331f48cd21 (patch)
tree91b18b49ab60f06f17b9257335e5d67178b06ecc /math/auto-libm-test-in
parentc5a3a509dfddad86b9fef84b46a172f969cb9b4b (diff)
downloadglibc-e1483b365da03e4bab3882e30872ed331f48cd21.tar.gz
glibc-e1483b365da03e4bab3882e30872ed331f48cd21.tar.xz
glibc-e1483b365da03e4bab3882e30872ed331f48cd21.zip
Add more tests of exp, exp10, exp2, expm1.
This patch adds some randomly-generated tests of exp, exp10, exp2 and
expm1 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 exp, exp10, exp2 and
	expm1.
	* 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-in15
1 files changed, 15 insertions, 0 deletions
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in
index e60a68df4c..051c0687d5 100644
--- a/math/auto-libm-test-in
+++ b/math/auto-libm-test-in
@@ -1165,6 +1165,9 @@ exp -min
 exp min_subnorm
 exp -min_subnorm
 
+exp -0x1.760cd14774bd9p+0
+exp 0x1.4bed28p+0
+
 exp10 0
 exp10 -0
 exp10 3
@@ -1208,6 +1211,10 @@ exp10 -min
 exp10 min_subnorm
 exp10 -min_subnorm
 
+exp10 0xd.f73d6p-4
+exp10 0x1.cc6776p+0
+exp10 0x5.b00bcd891ffe56fp+0
+
 exp2 0
 exp2 -0
 exp2 10
@@ -1244,6 +1251,13 @@ exp2 -min
 exp2 min_subnorm
 exp2 -min_subnorm
 
+exp2 0xb.71754p-4
+exp2 0xd.d77dp+0
+exp2 0xc.122c4p-4
+exp2 -0x1.567cc8p+0
+exp2 -0x1.bbbd76p+0
+exp2 -0x1.3045fep+8
+
 expm1 0
 expm1 -0
 expm1 1
@@ -1297,6 +1311,7 @@ expm1 0xe.4152ac57cd1ea7ap-60
 expm1 0x6.660247486aed8p-4
 expm1 0x6.289a78p-4
 expm1 0x6.1b4d318238d4a2a8p-4
+expm1 0x5.fb8dc64e91a74p-4
 # Bug 16353: underflow exception may be missing
 expm1 0x4.0000000000000028p-16384 missing-underflow