From e1483b365da03e4bab3882e30872ed331f48cd21 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 1 May 2015 20:33:04 +0000 Subject: 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. --- math/auto-libm-test-in | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'math/auto-libm-test-in') 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 -- cgit 1.4.1