aboutsummaryrefslogtreecommitdiff
path: root/math/auto-libm-test-in
diff options
context:
space:
mode:
authorPaul Zimmermann <Paul.Zimmermann@inria.fr>2021-02-26 08:00:03 +0100
committerPaul Zimmermann <Paul.Zimmermann@inria.fr>2021-02-27 06:32:11 +0100
commit5a051454a9b50c27984bbc499ee1297de48e2dc8 (patch)
treeb4aef0c5c1f679a78548fd4bf48afbda560ab545 /math/auto-libm-test-in
parent035c012e32c11e84d64905efaf55e74f704d3668 (diff)
downloadglibc-5a051454a9b50c27984bbc499ee1297de48e2dc8.zip
glibc-5a051454a9b50c27984bbc499ee1297de48e2dc8.tar.gz
glibc-5a051454a9b50c27984bbc499ee1297de48e2dc8.tar.bz2
Add inputs that generate larger error bounds
(Using values from https://members.loria.fr/PZimmermann/papers/accuracy.pdf)
Diffstat (limited to 'math/auto-libm-test-in')
-rw-r--r--math/auto-libm-test-in48
1 files changed, 48 insertions, 0 deletions
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in
index 73840b8..4edaaa8 100644
--- a/math/auto-libm-test-in
+++ b/math/auto-libm-test-in
@@ -79,6 +79,10 @@ acos 0xe.17513589de79b75p-4
acos 0x3.e57821d368ebap-4
acos 0x2.0bee8p-4
acos -0x1.da00d8p-4
+# the next value generates larger error bounds on x86_64 (binary64)
+acos 0x1.fffff3634acd6p-1
+# the next value generates larger error bounds on x86_64 (ldbl-96)
+acos 0xf.fe00271d507ee5dp-4
acos min
acos -min
acos min_subnorm
@@ -140,6 +144,10 @@ acosh 0x1.1b836p+0
acosh 0x1.07c956p+0
acosh 0x1.1808eep+0
acosh 0x1.1052c4p+0
+# the next value generates larger error bounds on x86_64 (ldbl-96)
+acosh 0x1.1ecbdf374bce01cap+0
+# the next value generates larger error bounds on x86_64 (binary128)
+acosh 0x1.0f97586eba090200118df0902f99p+0
acosh max
add 0 0
@@ -282,6 +290,8 @@ asin 0xd.805e5p-4
asin -0x2.1a02dcp-4
asin -0x8.1c120ac3e495p-4
asin -0xb.36dacp-4
+# the next value generates larger error bounds on x86_64 (binary64)
+asin 0x1.f6041ffe89d7dp-4
asin min
asin -min
asin min_subnorm
@@ -375,6 +385,8 @@ asinh 0x1p-5000
asinh 0xf.96c69p-8
# the next value generates larger error bounds on x86_64 (binary64)
asinh 0x1.023cfeab10a13p-2
+# the next value generates larger error bounds on x86_64 (binary128)
+asinh -0x5.a95683e302a71be88a35649b24ep-4
asinh min
asinh -min
asinh min_subnorm
@@ -416,6 +428,8 @@ atan -0x1.ad4c0ap+0
atan -0x3.eb8e18p+0
atan 0x3.53c188p+0
atan -0x1.58c83p+0
+# the next value generates larger error bounds on x86_64 (binary32)
+atan 0x1.626772p-1
atan min
atan -min
atan min_subnorm
@@ -472,6 +486,10 @@ atan2 -0x6.b0794p-4 0x3.8ff10cp+0
atan2 -0x7.15e7af0a1780cp-724 0xf.fffffp+124
atan2 0x3.f16f1p+0 -0x1.546056p+0
atan2 -0x1.9e657cp-24 0x7.40bb4p-52
+# the next value generates larger error bounds on x86_64 (binary32)
+atan2 -0x1.f9cf48p+49 0x1.f60598p+51
+# the next value generates larger error bounds on x86_64 (binary128)
+atan2 0x1.41df5aa214612c7e019fa6ade88p-13316 0x5.e53b26a270a29eb9f77ef8ef7af8p-13316
atan2 min min
atan2 min -min
atan2 -min min
@@ -591,6 +609,8 @@ atanh -0x3.98eaf4p-4
atanh 0x2.c1085p-4
atanh 0x1p-500
atanh 0x1p-5000
+# the next value generates larger error bounds on x86_64 (binary128)
+atanh 0x2.c02a24f3472c7840afbd8cfb68bap-4
atanh min
atanh -min
atanh min_subnorm
@@ -4429,6 +4449,8 @@ cos 1.57079697
cos -1.57079697
# the next value generates larger error bounds on x86_64 (binary32)
cos 0x2.3c6ef4p-12
+# the next value generates larger error bounds on x86_64 (binary128)
+cos 0xe.6672d458b05edf50af4fab1a42p+40
cosh 0
cosh -0
@@ -4494,6 +4516,10 @@ cosh -0x2.c5d37700c6bb03a6c24b6c9b494ep+12
cosh 0x5.8bfe6p+4
# the next value generates larger error bounds on x86_64 (binary64)
cosh 0x1.633c457f1e66bp+9
+# the next value generates larger error bounds on x86_64 (ldbl-96)
+cosh 0x2.c5d376167f4052f4p+12
+# the next value generates larger error bounds on x86_64 (binary128)
+cosh -0x2.c5d376eefcd4bbeb000452d84662p+12
cpow 1 0 0 0 ignore-zero-inf-sign
cpow 2 0 10 0 ignore-zero-inf-sign
@@ -4996,6 +5022,10 @@ erfc 0x6.a893032db905274042fb05c665dcp+4
erfc 0x6.a893032db905274042fb05c665ep+4
# the next value generates larger error bounds on x86_64 (binary32)
erfc 0xd.03d06p-4
+# the next value generates larger error bounds on x86_64 (ldbl-96)
+erfc 0x1.5cf2167efe9207d2p+0
+# the next value generates larger error bounds on x86_64 (binary128)
+erfc 0x1.5166e0efc44a9dfc79b8c8873a99p+0
erfc min
erfc -min
erfc min_subnorm
@@ -5374,6 +5404,10 @@ expm1 -0x7.d6c50b469d404p+0
expm1 0x4.857de8p+4
expm1 0x5.dfeb68p-4
expm1 0x4.0000000000000028p-16384
+# the next value generates larger error bounds on x86_64 (ldbl-96)
+expm1 0x5.8b911eb6733469c8p-4
+# the next value generates larger error bounds on x86_64 (binary128)
+expm1 0x5.a343df0d680099a7a1a873a751a8p-4
expm1 min
expm1 -min
expm1 min_subnorm
@@ -6454,6 +6488,8 @@ log10 0x0.fffffffffffff8p0
log10 0x0.ffffffffffffffffp0
log10 0x0.ffffffffffffffffffffffffffcp0
log10 0x0.ffffffffffffffffffffffffffff8p0
+# the next value generates larger error bounds on x86_64 (binary128)
+log10 0x1.6a291ea0aa11fb374f1df8b3ac6bp+0
log10 min
log10 min_subnorm
log10 max
@@ -6498,6 +6534,8 @@ log1p 0x1p50
log1p 0x1p60
log1p 0x1p100
log1p 0x1p1000
+# the next value generates larger error bounds on x86_64 (binary128)
+log1p 0x6.a0cf42befce9ed4085ef59254b48p-4
log1p max
log1p 0x7.2a4368p-4
@@ -6547,6 +6585,8 @@ log2 0xb.e132ap-4
log2 0xb.5bf82dc51f02035p-4
log2 0xb.7704dc9beb05p-4
log2 0xb.56f63c18e93eecdp-4
+# the next value generates larger error bounds on x86_64 (binary128)
+log2 0xb.54170d5cfa8fd72a47d6bda19068p-4
log2 min
log2 min_subnorm
log2 max
@@ -7239,6 +7279,10 @@ sin 0xf.f0274p+4
sin 0x3.042d88p+0
# the next value generates larger error bounds on x86_64 (binary32)
sin 0x1.d12ed2p-12
+# the next value generates larger error bounds on x86_64 (ldbl-96)
+sin -0x6.e2368c006c018228p+16
+# the next value generates larger error bounds on x86_64 (binary128)
+sin 0x5.6a5005df4363833413fa44f74ae8p+64
sin max
sin -max
sin min
@@ -7335,6 +7379,8 @@ sinh -0x1.3dda8ap+0
sinh -0x5.ee9218p-4
sinh -0x1.bcfc98p+0
sinh -0x6.9bbb6df7c5d08p-4
+# the next value generates larger error bounds on x86_64 (ldbl-96)
+sinh 0x2.c5d376167f4052f4p+12
sinh max
sinh -max
sinh min
@@ -7687,6 +7733,8 @@ tanh 0x1p-60
tanh 0x1p-100
tanh 0x1p-600
tanh 0x1p-10000
+# the next value generates larger error bounds on x86_64 (ldbl-96)
+tanh 0x3.b9979a543d0fbfa8p-4
tanh max
tanh -max
tanh min