diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-05-01 21:08:37 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-05-01 21:08:37 +0000 |
commit | a0d31f36aa7f6101b53f3b36214ac119f678a275 (patch) | |
tree | 5116ab1e88a4aadf0d36d399766354ca2426fc62 /math/auto-libm-test-in | |
parent | b4336ba4f583e853fff4620243ae027cbab2b541 (diff) | |
download | glibc-a0d31f36aa7f6101b53f3b36214ac119f678a275.zip glibc-a0d31f36aa7f6101b53f3b36214ac119f678a275.tar.gz glibc-a0d31f36aa7f6101b53f3b36214ac119f678a275.tar.bz2 |
Add more tests of log, log10, log1p, log2.
This patch adds some randomly-generated tests of log, log10, log1p and
log2 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 log, log10, log2 and
log1p.
* 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-in | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in index 051c068..7a8a67b 100644 --- a/math/auto-libm-test-in +++ b/math/auto-libm-test-in @@ -1768,6 +1768,11 @@ log 0.75 log min log min_subnorm +log 0xb.0d5dfp-4 +log 0x1.6c3f6p+0 +log 0xa.ae688p-4 +log 0x1.017f8ap+44 + log10 1 log10 0.1 log10 10.0 @@ -1778,6 +1783,12 @@ log10 0.75 log10 min log10 min_subnorm +log10 0x9.ad6e3p-4 +log10 0x1.7163aep+0 +log10 0xa.9d0d4p-4 +log10 0x1.251ec6p+0 +log10 0x1.022e82p+0 + log1p 0 log1p -0 log1p e-1 @@ -1797,6 +1808,16 @@ log1p 0x1p100 log1p 0x1p1000 log1p max +log1p 0x7.2a4368p-4 +log1p 0x6.d3a118p-4 +log1p 0x5.03f228p+0 +log1p 0x7.264963888ac9p-4 +log1p 0x8.786bdp-4 +log1p 0x7.89dc17790eeb4p-4 +log1p 0x9.81ccf8887c24a7bp-4 +log1p 0xa.5028608bd65f38dp-4 +log1p 0x5.bf78873e20a2d468p-4 + log2 1 log2 e log2 2.0 @@ -1809,6 +1830,8 @@ log2 0x1.63d202d04392cp+0 log2 0xf.d9ce0b1a50e08p-4 log2 0x1.07465bdc7e41b52ep+0 log2 0xf.4dfb4p-48 +log2 0x1.0a588ep+0 +log2 0xb.e77c6p-4 log2 min log2 min_subnorm |