aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-05-19 23:05:22 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-05-19 23:05:22 +0000
commit526af54142db14c1edcd2d80dc1b56d33ff4e8ce (patch)
tree04991e58f9d8c05a94a492eda37747bdcc8a4740 /math
parent88ed594f5d431d855256edbe7e886c8cf4b575dc (diff)
downloadglibc-526af54142db14c1edcd2d80dc1b56d33ff4e8ce.zip
glibc-526af54142db14c1edcd2d80dc1b56d33ff4e8ce.tar.gz
glibc-526af54142db14c1edcd2d80dc1b56d33ff4e8ce.tar.bz2
Fix i386 atanhl spurious underflows (bug 18049).
The i386 implementation of atanhl, for small arguments, does a calculation that involves computing twice the square of the argument, resulting in spurious underflows for some arguments. This patch fixes this by just returning the argument when its exponent is below -32, with underflow being forced as needed for subnormal arguments. Tested for x86 and x86_64. [BZ #18049] * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents below -32, return the argument, with underflow if subnormal. * math/auto-libm-test-in: Add more tests of atanh. * math/auto-libm-test-out: Regenerated.
Diffstat (limited to 'math')
-rw-r--r--math/auto-libm-test-in5
-rw-r--r--math/auto-libm-test-out325
2 files changed, 330 insertions, 0 deletions
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in
index 6fe0ed7..9e55d91 100644
--- a/math/auto-libm-test-in
+++ b/math/auto-libm-test-in
@@ -368,6 +368,11 @@ atanh 0x1p-57
atanh 0x1p-58
atanh 0x1p-59
atanh 0x1p-100
+atanh -0x1p-100
+atanh 0x1p-600
+atanh -0x1p-600
+atanh 0x1p-10000
+atanh -0x1p-10000
atanh -0x6.e6c77p-20
atanh 0x3.2ca824p-4
atanh -0x1.cc1d66p-4
diff --git a/math/auto-libm-test-out b/math/auto-libm-test-out
index 8119f27..90ec0e5 100644
--- a/math/auto-libm-test-out
+++ b/math/auto-libm-test-out
@@ -19883,6 +19883,331 @@ atanh 0x1p-100
= atanh tonearest ldbl-128ibm 0x1p-100L : 0x1p-100L : inexact-ok
= atanh towardzero ldbl-128ibm 0x1p-100L : 0x1p-100L : inexact-ok
= atanh upward ldbl-128ibm 0x1p-100L : 0x1.000000000000000000000000008p-100L : inexact-ok
+atanh -0x1p-100
+= atanh downward flt-32 -0x1p-100f : -0x1.000002p-100f : inexact-ok
+= atanh tonearest flt-32 -0x1p-100f : -0x1p-100f : inexact-ok
+= atanh towardzero flt-32 -0x1p-100f : -0x1p-100f : inexact-ok
+= atanh upward flt-32 -0x1p-100f : -0x1p-100f : inexact-ok
+= atanh downward dbl-64 -0x1p-100 : -0x1.0000000000001p-100 : inexact-ok
+= atanh tonearest dbl-64 -0x1p-100 : -0x1p-100 : inexact-ok
+= atanh towardzero dbl-64 -0x1p-100 : -0x1p-100 : inexact-ok
+= atanh upward dbl-64 -0x1p-100 : -0x1p-100 : inexact-ok
+= atanh downward ldbl-96-intel -0x1p-100L : -0x1.0000000000000002p-100L : inexact-ok
+= atanh tonearest ldbl-96-intel -0x1p-100L : -0x1p-100L : inexact-ok
+= atanh towardzero ldbl-96-intel -0x1p-100L : -0x1p-100L : inexact-ok
+= atanh upward ldbl-96-intel -0x1p-100L : -0x1p-100L : inexact-ok
+= atanh downward ldbl-96-m68k -0x1p-100L : -0x1.0000000000000002p-100L : inexact-ok
+= atanh tonearest ldbl-96-m68k -0x1p-100L : -0x1p-100L : inexact-ok
+= atanh towardzero ldbl-96-m68k -0x1p-100L : -0x1p-100L : inexact-ok
+= atanh upward ldbl-96-m68k -0x1p-100L : -0x1p-100L : inexact-ok
+= atanh downward ldbl-128 -0x1p-100L : -0x1.0000000000000000000000000001p-100L : inexact-ok
+= atanh tonearest ldbl-128 -0x1p-100L : -0x1p-100L : inexact-ok
+= atanh towardzero ldbl-128 -0x1p-100L : -0x1p-100L : inexact-ok
+= atanh upward ldbl-128 -0x1p-100L : -0x1p-100L : inexact-ok
+= atanh downward ldbl-128ibm -0x1p-100L : -0x1.000000000000000000000000008p-100L : inexact-ok
+= atanh tonearest ldbl-128ibm -0x1p-100L : -0x1p-100L : inexact-ok
+= atanh towardzero ldbl-128ibm -0x1p-100L : -0x1p-100L : inexact-ok
+= atanh upward ldbl-128ibm -0x1p-100L : -0x1p-100L : inexact-ok
+atanh 0x1p-600
+= atanh downward flt-32 0x8p-152f : 0x8p-152f : inexact-ok underflow errno-erange-ok
+= atanh tonearest flt-32 0x8p-152f : 0x8p-152f : inexact-ok underflow errno-erange-ok
+= atanh towardzero flt-32 0x8p-152f : 0x8p-152f : inexact-ok underflow errno-erange-ok
+= atanh upward flt-32 0x8p-152f : 0x1p-148f : inexact-ok underflow errno-erange-ok
+= atanh downward dbl-64 0x8p-152 : 0x8p-152 : inexact-ok
+= atanh tonearest dbl-64 0x8p-152 : 0x8p-152 : inexact-ok
+= atanh towardzero dbl-64 0x8p-152 : 0x8p-152 : inexact-ok
+= atanh upward dbl-64 0x8p-152 : 0x8.0000000000008p-152 : inexact-ok
+= atanh downward ldbl-96-intel 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh tonearest ldbl-96-intel 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh towardzero ldbl-96-intel 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh upward ldbl-96-intel 0x8p-152L : 0x8.000000000000001p-152L : inexact-ok
+= atanh downward ldbl-96-m68k 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh tonearest ldbl-96-m68k 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh towardzero ldbl-96-m68k 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh upward ldbl-96-m68k 0x8p-152L : 0x8.000000000000001p-152L : inexact-ok
+= atanh downward ldbl-128 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh tonearest ldbl-128 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh towardzero ldbl-128 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh upward ldbl-128 0x8p-152L : 0x8.0000000000000000000000000008p-152L : inexact-ok
+= atanh downward ldbl-128ibm 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh tonearest ldbl-128ibm 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh towardzero ldbl-128ibm 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh upward ldbl-128ibm 0x8p-152L : 0x8.00000000000000000000000004p-152L : inexact-ok
+= atanh downward flt-32 0x0p+0f : 0x0p+0f : inexact-ok
+= atanh tonearest flt-32 0x0p+0f : 0x0p+0f : inexact-ok
+= atanh towardzero flt-32 0x0p+0f : 0x0p+0f : inexact-ok
+= atanh upward flt-32 0x0p+0f : 0x0p+0f : inexact-ok
+= atanh downward dbl-64 0x0p+0 : 0x0p+0 : inexact-ok
+= atanh tonearest dbl-64 0x0p+0 : 0x0p+0 : inexact-ok
+= atanh towardzero dbl-64 0x0p+0 : 0x0p+0 : inexact-ok
+= atanh upward dbl-64 0x0p+0 : 0x0p+0 : inexact-ok
+= atanh downward ldbl-96-intel 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh tonearest ldbl-96-intel 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh towardzero ldbl-96-intel 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh upward ldbl-96-intel 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh downward ldbl-96-m68k 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh tonearest ldbl-96-m68k 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh towardzero ldbl-96-m68k 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh upward ldbl-96-m68k 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh downward ldbl-128 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh tonearest ldbl-128 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh towardzero ldbl-128 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh upward ldbl-128 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh downward ldbl-128ibm 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh tonearest ldbl-128ibm 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh towardzero ldbl-128ibm 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh upward ldbl-128ibm 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh downward dbl-64 0x1p-600 : 0x1p-600 : inexact-ok
+= atanh tonearest dbl-64 0x1p-600 : 0x1p-600 : inexact-ok
+= atanh towardzero dbl-64 0x1p-600 : 0x1p-600 : inexact-ok
+= atanh upward dbl-64 0x1p-600 : 0x1.0000000000001p-600 : inexact-ok
+= atanh downward ldbl-96-intel 0x1p-600L : 0x1p-600L : inexact-ok
+= atanh tonearest ldbl-96-intel 0x1p-600L : 0x1p-600L : inexact-ok
+= atanh towardzero ldbl-96-intel 0x1p-600L : 0x1p-600L : inexact-ok
+= atanh upward ldbl-96-intel 0x1p-600L : 0x1.0000000000000002p-600L : inexact-ok
+= atanh downward ldbl-96-m68k 0x1p-600L : 0x1p-600L : inexact-ok
+= atanh tonearest ldbl-96-m68k 0x1p-600L : 0x1p-600L : inexact-ok
+= atanh towardzero ldbl-96-m68k 0x1p-600L : 0x1p-600L : inexact-ok
+= atanh upward ldbl-96-m68k 0x1p-600L : 0x1.0000000000000002p-600L : inexact-ok
+= atanh downward ldbl-128 0x1p-600L : 0x1p-600L : inexact-ok
+= atanh tonearest ldbl-128 0x1p-600L : 0x1p-600L : inexact-ok
+= atanh towardzero ldbl-128 0x1p-600L : 0x1p-600L : inexact-ok
+= atanh upward ldbl-128 0x1p-600L : 0x1.0000000000000000000000000001p-600L : inexact-ok
+= atanh downward ldbl-128ibm 0x1p-600L : 0x1p-600L : inexact-ok
+= atanh tonearest ldbl-128ibm 0x1p-600L : 0x1p-600L : inexact-ok
+= atanh towardzero ldbl-128ibm 0x1p-600L : 0x1p-600L : inexact-ok
+= atanh upward ldbl-128ibm 0x1p-600L : 0x1.000000000000000000000000008p-600L : inexact-ok
+atanh -0x1p-600
+= atanh downward flt-32 -0x0p+0f : -0x0p+0f : inexact-ok
+= atanh tonearest flt-32 -0x0p+0f : -0x0p+0f : inexact-ok
+= atanh towardzero flt-32 -0x0p+0f : -0x0p+0f : inexact-ok
+= atanh upward flt-32 -0x0p+0f : -0x0p+0f : inexact-ok
+= atanh downward dbl-64 -0x0p+0 : -0x0p+0 : inexact-ok
+= atanh tonearest dbl-64 -0x0p+0 : -0x0p+0 : inexact-ok
+= atanh towardzero dbl-64 -0x0p+0 : -0x0p+0 : inexact-ok
+= atanh upward dbl-64 -0x0p+0 : -0x0p+0 : inexact-ok
+= atanh downward ldbl-96-intel -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh tonearest ldbl-96-intel -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh towardzero ldbl-96-intel -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh upward ldbl-96-intel -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh downward ldbl-96-m68k -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh tonearest ldbl-96-m68k -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh towardzero ldbl-96-m68k -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh upward ldbl-96-m68k -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh downward ldbl-128 -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh tonearest ldbl-128 -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh towardzero ldbl-128 -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh upward ldbl-128 -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh downward ldbl-128ibm -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh tonearest ldbl-128ibm -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh towardzero ldbl-128ibm -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh upward ldbl-128ibm -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh downward flt-32 -0x8p-152f : -0x1p-148f : inexact-ok underflow errno-erange-ok
+= atanh tonearest flt-32 -0x8p-152f : -0x8p-152f : inexact-ok underflow errno-erange-ok
+= atanh towardzero flt-32 -0x8p-152f : -0x8p-152f : inexact-ok underflow errno-erange-ok
+= atanh upward flt-32 -0x8p-152f : -0x8p-152f : inexact-ok underflow errno-erange-ok
+= atanh downward dbl-64 -0x8p-152 : -0x8.0000000000008p-152 : inexact-ok
+= atanh tonearest dbl-64 -0x8p-152 : -0x8p-152 : inexact-ok
+= atanh towardzero dbl-64 -0x8p-152 : -0x8p-152 : inexact-ok
+= atanh upward dbl-64 -0x8p-152 : -0x8p-152 : inexact-ok
+= atanh downward ldbl-96-intel -0x8p-152L : -0x8.000000000000001p-152L : inexact-ok
+= atanh tonearest ldbl-96-intel -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh towardzero ldbl-96-intel -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh upward ldbl-96-intel -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh downward ldbl-96-m68k -0x8p-152L : -0x8.000000000000001p-152L : inexact-ok
+= atanh tonearest ldbl-96-m68k -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh towardzero ldbl-96-m68k -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh upward ldbl-96-m68k -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh downward ldbl-128 -0x8p-152L : -0x8.0000000000000000000000000008p-152L : inexact-ok
+= atanh tonearest ldbl-128 -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh towardzero ldbl-128 -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh upward ldbl-128 -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh downward ldbl-128ibm -0x8p-152L : -0x8.00000000000000000000000004p-152L : inexact-ok
+= atanh tonearest ldbl-128ibm -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh towardzero ldbl-128ibm -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh upward ldbl-128ibm -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh downward dbl-64 -0x1p-600 : -0x1.0000000000001p-600 : inexact-ok
+= atanh tonearest dbl-64 -0x1p-600 : -0x1p-600 : inexact-ok
+= atanh towardzero dbl-64 -0x1p-600 : -0x1p-600 : inexact-ok
+= atanh upward dbl-64 -0x1p-600 : -0x1p-600 : inexact-ok
+= atanh downward ldbl-96-intel -0x1p-600L : -0x1.0000000000000002p-600L : inexact-ok
+= atanh tonearest ldbl-96-intel -0x1p-600L : -0x1p-600L : inexact-ok
+= atanh towardzero ldbl-96-intel -0x1p-600L : -0x1p-600L : inexact-ok
+= atanh upward ldbl-96-intel -0x1p-600L : -0x1p-600L : inexact-ok
+= atanh downward ldbl-96-m68k -0x1p-600L : -0x1.0000000000000002p-600L : inexact-ok
+= atanh tonearest ldbl-96-m68k -0x1p-600L : -0x1p-600L : inexact-ok
+= atanh towardzero ldbl-96-m68k -0x1p-600L : -0x1p-600L : inexact-ok
+= atanh upward ldbl-96-m68k -0x1p-600L : -0x1p-600L : inexact-ok
+= atanh downward ldbl-128 -0x1p-600L : -0x1.0000000000000000000000000001p-600L : inexact-ok
+= atanh tonearest ldbl-128 -0x1p-600L : -0x1p-600L : inexact-ok
+= atanh towardzero ldbl-128 -0x1p-600L : -0x1p-600L : inexact-ok
+= atanh upward ldbl-128 -0x1p-600L : -0x1p-600L : inexact-ok
+= atanh downward ldbl-128ibm -0x1p-600L : -0x1.000000000000000000000000008p-600L : inexact-ok
+= atanh tonearest ldbl-128ibm -0x1p-600L : -0x1p-600L : inexact-ok
+= atanh towardzero ldbl-128ibm -0x1p-600L : -0x1p-600L : inexact-ok
+= atanh upward ldbl-128ibm -0x1p-600L : -0x1p-600L : inexact-ok
+atanh 0x1p-10000
+= atanh downward flt-32 0x8p-152f : 0x8p-152f : inexact-ok underflow errno-erange-ok
+= atanh tonearest flt-32 0x8p-152f : 0x8p-152f : inexact-ok underflow errno-erange-ok
+= atanh towardzero flt-32 0x8p-152f : 0x8p-152f : inexact-ok underflow errno-erange-ok
+= atanh upward flt-32 0x8p-152f : 0x1p-148f : inexact-ok underflow errno-erange-ok
+= atanh downward dbl-64 0x8p-152 : 0x8p-152 : inexact-ok
+= atanh tonearest dbl-64 0x8p-152 : 0x8p-152 : inexact-ok
+= atanh towardzero dbl-64 0x8p-152 : 0x8p-152 : inexact-ok
+= atanh upward dbl-64 0x8p-152 : 0x8.0000000000008p-152 : inexact-ok
+= atanh downward ldbl-96-intel 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh tonearest ldbl-96-intel 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh towardzero ldbl-96-intel 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh upward ldbl-96-intel 0x8p-152L : 0x8.000000000000001p-152L : inexact-ok
+= atanh downward ldbl-96-m68k 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh tonearest ldbl-96-m68k 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh towardzero ldbl-96-m68k 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh upward ldbl-96-m68k 0x8p-152L : 0x8.000000000000001p-152L : inexact-ok
+= atanh downward ldbl-128 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh tonearest ldbl-128 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh towardzero ldbl-128 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh upward ldbl-128 0x8p-152L : 0x8.0000000000000000000000000008p-152L : inexact-ok
+= atanh downward ldbl-128ibm 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh tonearest ldbl-128ibm 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh towardzero ldbl-128ibm 0x8p-152L : 0x8p-152L : inexact-ok
+= atanh upward ldbl-128ibm 0x8p-152L : 0x8.00000000000000000000000004p-152L : inexact-ok
+= atanh downward flt-32 0x0p+0f : 0x0p+0f : inexact-ok
+= atanh tonearest flt-32 0x0p+0f : 0x0p+0f : inexact-ok
+= atanh towardzero flt-32 0x0p+0f : 0x0p+0f : inexact-ok
+= atanh upward flt-32 0x0p+0f : 0x0p+0f : inexact-ok
+= atanh downward dbl-64 0x0p+0 : 0x0p+0 : inexact-ok
+= atanh tonearest dbl-64 0x0p+0 : 0x0p+0 : inexact-ok
+= atanh towardzero dbl-64 0x0p+0 : 0x0p+0 : inexact-ok
+= atanh upward dbl-64 0x0p+0 : 0x0p+0 : inexact-ok
+= atanh downward ldbl-96-intel 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh tonearest ldbl-96-intel 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh towardzero ldbl-96-intel 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh upward ldbl-96-intel 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh downward ldbl-96-m68k 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh tonearest ldbl-96-m68k 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh towardzero ldbl-96-m68k 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh upward ldbl-96-m68k 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh downward ldbl-128 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh tonearest ldbl-128 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh towardzero ldbl-128 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh upward ldbl-128 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh downward ldbl-128ibm 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh tonearest ldbl-128ibm 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh towardzero ldbl-128ibm 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh upward ldbl-128ibm 0x0p+0L : 0x0p+0L : inexact-ok
+= atanh downward dbl-64 0x4p-1076 : 0x4p-1076 : inexact-ok underflow errno-erange-ok
+= atanh tonearest dbl-64 0x4p-1076 : 0x4p-1076 : inexact-ok underflow errno-erange-ok
+= atanh towardzero dbl-64 0x4p-1076 : 0x4p-1076 : inexact-ok underflow errno-erange-ok
+= atanh upward dbl-64 0x4p-1076 : 0x8p-1076 : inexact-ok underflow errno-erange-ok
+= atanh downward ldbl-96-intel 0x4p-1076L : 0x4p-1076L : inexact-ok
+= atanh tonearest ldbl-96-intel 0x4p-1076L : 0x4p-1076L : inexact-ok
+= atanh towardzero ldbl-96-intel 0x4p-1076L : 0x4p-1076L : inexact-ok
+= atanh upward ldbl-96-intel 0x4p-1076L : 0x4.0000000000000008p-1076L : inexact-ok
+= atanh downward ldbl-96-m68k 0x4p-1076L : 0x4p-1076L : inexact-ok
+= atanh tonearest ldbl-96-m68k 0x4p-1076L : 0x4p-1076L : inexact-ok
+= atanh towardzero ldbl-96-m68k 0x4p-1076L : 0x4p-1076L : inexact-ok
+= atanh upward ldbl-96-m68k 0x4p-1076L : 0x4.0000000000000008p-1076L : inexact-ok
+= atanh downward ldbl-128 0x4p-1076L : 0x4p-1076L : inexact-ok
+= atanh tonearest ldbl-128 0x4p-1076L : 0x4p-1076L : inexact-ok
+= atanh towardzero ldbl-128 0x4p-1076L : 0x4p-1076L : inexact-ok
+= atanh upward ldbl-128 0x4p-1076L : 0x4.0000000000000000000000000004p-1076L : inexact-ok
+= atanh downward ldbl-128ibm 0x4p-1076L : 0x4p-1076L : inexact-ok underflow errno-erange-ok
+= atanh tonearest ldbl-128ibm 0x4p-1076L : 0x4p-1076L : inexact-ok underflow errno-erange-ok
+= atanh towardzero ldbl-128ibm 0x4p-1076L : 0x4p-1076L : inexact-ok underflow errno-erange-ok
+= atanh upward ldbl-128ibm 0x4p-1076L : 0x8p-1076L : inexact-ok underflow errno-erange-ok
+= atanh downward ldbl-96-intel 0x1p-10000L : 0x1p-10000L : inexact-ok
+= atanh tonearest ldbl-96-intel 0x1p-10000L : 0x1p-10000L : inexact-ok
+= atanh towardzero ldbl-96-intel 0x1p-10000L : 0x1p-10000L : inexact-ok
+= atanh upward ldbl-96-intel 0x1p-10000L : 0x1.0000000000000002p-10000L : inexact-ok
+= atanh downward ldbl-96-m68k 0x1p-10000L : 0x1p-10000L : inexact-ok
+= atanh tonearest ldbl-96-m68k 0x1p-10000L : 0x1p-10000L : inexact-ok
+= atanh towardzero ldbl-96-m68k 0x1p-10000L : 0x1p-10000L : inexact-ok
+= atanh upward ldbl-96-m68k 0x1p-10000L : 0x1.0000000000000002p-10000L : inexact-ok
+= atanh downward ldbl-128 0x1p-10000L : 0x1p-10000L : inexact-ok
+= atanh tonearest ldbl-128 0x1p-10000L : 0x1p-10000L : inexact-ok
+= atanh towardzero ldbl-128 0x1p-10000L : 0x1p-10000L : inexact-ok
+= atanh upward ldbl-128 0x1p-10000L : 0x1.0000000000000000000000000001p-10000L : inexact-ok
+atanh -0x1p-10000
+= atanh downward flt-32 -0x0p+0f : -0x0p+0f : inexact-ok
+= atanh tonearest flt-32 -0x0p+0f : -0x0p+0f : inexact-ok
+= atanh towardzero flt-32 -0x0p+0f : -0x0p+0f : inexact-ok
+= atanh upward flt-32 -0x0p+0f : -0x0p+0f : inexact-ok
+= atanh downward dbl-64 -0x0p+0 : -0x0p+0 : inexact-ok
+= atanh tonearest dbl-64 -0x0p+0 : -0x0p+0 : inexact-ok
+= atanh towardzero dbl-64 -0x0p+0 : -0x0p+0 : inexact-ok
+= atanh upward dbl-64 -0x0p+0 : -0x0p+0 : inexact-ok
+= atanh downward ldbl-96-intel -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh tonearest ldbl-96-intel -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh towardzero ldbl-96-intel -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh upward ldbl-96-intel -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh downward ldbl-96-m68k -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh tonearest ldbl-96-m68k -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh towardzero ldbl-96-m68k -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh upward ldbl-96-m68k -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh downward ldbl-128 -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh tonearest ldbl-128 -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh towardzero ldbl-128 -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh upward ldbl-128 -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh downward ldbl-128ibm -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh tonearest ldbl-128ibm -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh towardzero ldbl-128ibm -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh upward ldbl-128ibm -0x0p+0L : -0x0p+0L : inexact-ok
+= atanh downward flt-32 -0x8p-152f : -0x1p-148f : inexact-ok underflow errno-erange-ok
+= atanh tonearest flt-32 -0x8p-152f : -0x8p-152f : inexact-ok underflow errno-erange-ok
+= atanh towardzero flt-32 -0x8p-152f : -0x8p-152f : inexact-ok underflow errno-erange-ok
+= atanh upward flt-32 -0x8p-152f : -0x8p-152f : inexact-ok underflow errno-erange-ok
+= atanh downward dbl-64 -0x8p-152 : -0x8.0000000000008p-152 : inexact-ok
+= atanh tonearest dbl-64 -0x8p-152 : -0x8p-152 : inexact-ok
+= atanh towardzero dbl-64 -0x8p-152 : -0x8p-152 : inexact-ok
+= atanh upward dbl-64 -0x8p-152 : -0x8p-152 : inexact-ok
+= atanh downward ldbl-96-intel -0x8p-152L : -0x8.000000000000001p-152L : inexact-ok
+= atanh tonearest ldbl-96-intel -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh towardzero ldbl-96-intel -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh upward ldbl-96-intel -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh downward ldbl-96-m68k -0x8p-152L : -0x8.000000000000001p-152L : inexact-ok
+= atanh tonearest ldbl-96-m68k -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh towardzero ldbl-96-m68k -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh upward ldbl-96-m68k -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh downward ldbl-128 -0x8p-152L : -0x8.0000000000000000000000000008p-152L : inexact-ok
+= atanh tonearest ldbl-128 -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh towardzero ldbl-128 -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh upward ldbl-128 -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh downward ldbl-128ibm -0x8p-152L : -0x8.00000000000000000000000004p-152L : inexact-ok
+= atanh tonearest ldbl-128ibm -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh towardzero ldbl-128ibm -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh upward ldbl-128ibm -0x8p-152L : -0x8p-152L : inexact-ok
+= atanh downward dbl-64 -0x4p-1076 : -0x8p-1076 : inexact-ok underflow errno-erange-ok
+= atanh tonearest dbl-64 -0x4p-1076 : -0x4p-1076 : inexact-ok underflow errno-erange-ok
+= atanh towardzero dbl-64 -0x4p-1076 : -0x4p-1076 : inexact-ok underflow errno-erange-ok
+= atanh upward dbl-64 -0x4p-1076 : -0x4p-1076 : inexact-ok underflow errno-erange-ok
+= atanh downward ldbl-96-intel -0x4p-1076L : -0x4.0000000000000008p-1076L : inexact-ok
+= atanh tonearest ldbl-96-intel -0x4p-1076L : -0x4p-1076L : inexact-ok
+= atanh towardzero ldbl-96-intel -0x4p-1076L : -0x4p-1076L : inexact-ok
+= atanh upward ldbl-96-intel -0x4p-1076L : -0x4p-1076L : inexact-ok
+= atanh downward ldbl-96-m68k -0x4p-1076L : -0x4.0000000000000008p-1076L : inexact-ok
+= atanh tonearest ldbl-96-m68k -0x4p-1076L : -0x4p-1076L : inexact-ok
+= atanh towardzero ldbl-96-m68k -0x4p-1076L : -0x4p-1076L : inexact-ok
+= atanh upward ldbl-96-m68k -0x4p-1076L : -0x4p-1076L : inexact-ok
+= atanh downward ldbl-128 -0x4p-1076L : -0x4.0000000000000000000000000004p-1076L : inexact-ok
+= atanh tonearest ldbl-128 -0x4p-1076L : -0x4p-1076L : inexact-ok
+= atanh towardzero ldbl-128 -0x4p-1076L : -0x4p-1076L : inexact-ok
+= atanh upward ldbl-128 -0x4p-1076L : -0x4p-1076L : inexact-ok
+= atanh downward ldbl-128ibm -0x4p-1076L : -0x8p-1076L : inexact-ok underflow errno-erange-ok
+= atanh tonearest ldbl-128ibm -0x4p-1076L : -0x4p-1076L : inexact-ok underflow errno-erange-ok
+= atanh towardzero ldbl-128ibm -0x4p-1076L : -0x4p-1076L : inexact-ok underflow errno-erange-ok
+= atanh upward ldbl-128ibm -0x4p-1076L : -0x4p-1076L : inexact-ok underflow errno-erange-ok
+= atanh downward ldbl-96-intel -0x1p-10000L : -0x1.0000000000000002p-10000L : inexact-ok
+= atanh tonearest ldbl-96-intel -0x1p-10000L : -0x1p-10000L : inexact-ok
+= atanh towardzero ldbl-96-intel -0x1p-10000L : -0x1p-10000L : inexact-ok
+= atanh upward ldbl-96-intel -0x1p-10000L : -0x1p-10000L : inexact-ok
+= atanh downward ldbl-96-m68k -0x1p-10000L : -0x1.0000000000000002p-10000L : inexact-ok
+= atanh tonearest ldbl-96-m68k -0x1p-10000L : -0x1p-10000L : inexact-ok
+= atanh towardzero ldbl-96-m68k -0x1p-10000L : -0x1p-10000L : inexact-ok
+= atanh upward ldbl-96-m68k -0x1p-10000L : -0x1p-10000L : inexact-ok
+= atanh downward ldbl-128 -0x1p-10000L : -0x1.0000000000000000000000000001p-10000L : inexact-ok
+= atanh tonearest ldbl-128 -0x1p-10000L : -0x1p-10000L : inexact-ok
+= atanh towardzero ldbl-128 -0x1p-10000L : -0x1p-10000L : inexact-ok
+= atanh upward ldbl-128 -0x1p-10000L : -0x1p-10000L : inexact-ok
atanh -0x6.e6c77p-20
= atanh downward flt-32 -0x6.e6c77p-20f : -0x6.e6c778p-20f : inexact-ok
= atanh tonearest flt-32 -0x6.e6c77p-20f : -0x6.e6c77p-20f : inexact-ok