about summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-12-08 23:56:28 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-12-08 23:56:28 +0000
commit9f0be4f8b5fa9a9fcbdcde9ac15d5cdec81cf26a (patch)
treed91307817a5b83b6f0da77b8e87083f89aad9b3d /math
parent7380e0e4695f4511eb8fd1477e042093632b6818 (diff)
downloadglibc-9f0be4f8b5fa9a9fcbdcde9ac15d5cdec81cf26a.tar.gz
glibc-9f0be4f8b5fa9a9fcbdcde9ac15d5cdec81cf26a.tar.xz
glibc-9f0be4f8b5fa9a9fcbdcde9ac15d5cdec81cf26a.zip
Move tests of lgamma from libm-test.inc to auto-libm-test-in.
Diffstat (limited to 'math')
-rw-r--r--math/auto-libm-test-in56
-rw-r--r--math/auto-libm-test-out2203
-rw-r--r--math/gen-auto-libm-tests.c36
-rw-r--r--math/libm-test.inc69
4 files changed, 2293 insertions, 71 deletions
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in
index cda78166d0..8ec0dede1c 100644
--- a/math/auto-libm-test-in
+++ b/math/auto-libm-test-in
@@ -282,6 +282,62 @@ j1 0x1p1023
 j1 0x1p16382
 j1 0x1p16383
 
+lgamma max
+lgamma 1
+lgamma 3
+lgamma 0.5
+lgamma -0.5
+lgamma 0.7
+lgamma 1.2
+lgamma 0x1p-5
+lgamma -0x1p-5
+lgamma 0x1p-10
+lgamma -0x1p-10
+lgamma 0x1p-15
+lgamma -0x1p-15
+lgamma 0x1p-20
+lgamma -0x1p-20
+lgamma 0x1p-25
+lgamma -0x1p-25
+lgamma 0x1p-30
+lgamma -0x1p-30
+lgamma 0x1p-40
+lgamma -0x1p-40
+lgamma 0x1p-50
+lgamma -0x1p-50
+lgamma 0x1p-60
+lgamma -0x1p-60
+lgamma 0x1p-64
+lgamma -0x1p-64
+lgamma 0x1p-70
+lgamma -0x1p-70
+lgamma 0x1p-100
+lgamma -0x1p-100
+lgamma 0x1p-126
+lgamma -0x1p-126
+lgamma 0x1p-149
+lgamma -0x1p-149
+lgamma 0x1p-200
+lgamma -0x1p-200
+lgamma 0x1p-500
+lgamma -0x1p-500
+lgamma 0x1p-1000
+lgamma -0x1p-1000
+lgamma 0x1p-1022
+lgamma -0x1p-1022
+lgamma 0x1p-1074
+lgamma -0x1p-1074
+lgamma 0x1p-5000
+lgamma -0x1p-5000
+lgamma 0x1p-10000
+lgamma -0x1p-10000
+lgamma 0x1p-16382
+lgamma -0x1p-16382
+lgamma 0x1p-16445
+lgamma -0x1p-16445
+lgamma 0x1p-16494
+lgamma -0x1p-16494
+
 log 1
 log e
 log 1/e
diff --git a/math/auto-libm-test-out b/math/auto-libm-test-out
index e9012b52bc..19a9e0efaa 100644
--- a/math/auto-libm-test-out
+++ b/math/auto-libm-test-out
@@ -9180,6 +9180,2209 @@ j1 0x1p16383
 = j1 tonearest ldbl-128ibm 0xf.ffffffffffffbffffffffffffcp+1020L : -0x5.34b8be56c9cb044a0ef191b026p-516L : inexact-ok
 = j1 towardzero ldbl-128ibm 0xf.ffffffffffffbffffffffffffcp+1020L : -0x5.34b8be56c9cb044a0ef191b024p-516L : inexact-ok
 = j1 upward ldbl-128ibm 0xf.ffffffffffffbffffffffffffcp+1020L : -0x5.34b8be56c9cb044a0ef191b024p-516L : inexact-ok
+lgamma max
+= lgamma downward flt-32 0xf.fffffp+124f : 0xf.fffffp+124f 1 : inexact-ok overflow errno-erange-ok
+= lgamma tonearest flt-32 0xf.fffffp+124f : plus_infty 1 : inexact-ok overflow errno-erange
+= lgamma towardzero flt-32 0xf.fffffp+124f : 0xf.fffffp+124f 1 : inexact-ok overflow errno-erange-ok
+= lgamma upward flt-32 0xf.fffffp+124f : plus_infty 1 : inexact-ok overflow errno-erange
+= lgamma downward dbl-64 0xf.fffffp+124 : 0x5.7b90ba32fdbcp+132 1 : inexact-ok
+= lgamma tonearest dbl-64 0xf.fffffp+124 : 0x5.7b90ba32fdbcp+132 1 : inexact-ok
+= lgamma towardzero dbl-64 0xf.fffffp+124 : 0x5.7b90ba32fdbcp+132 1 : inexact-ok
+= lgamma upward dbl-64 0xf.fffffp+124 : 0x5.7b90ba32fdbc4p+132 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0xf.fffffp+124L : 0x5.7b90ba32fdbc16c8p+132L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0xf.fffffp+124L : 0x5.7b90ba32fdbc16dp+132L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0xf.fffffp+124L : 0x5.7b90ba32fdbc16c8p+132L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0xf.fffffp+124L : 0x5.7b90ba32fdbc16dp+132L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0xf.fffffp+124L : 0x5.7b90ba32fdbc16c8p+132L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0xf.fffffp+124L : 0x5.7b90ba32fdbc16dp+132L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0xf.fffffp+124L : 0x5.7b90ba32fdbc16c8p+132L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0xf.fffffp+124L : 0x5.7b90ba32fdbc16dp+132L 1 : inexact-ok
+= lgamma downward ldbl-128 0xf.fffffp+124L : 0x5.7b90ba32fdbc16cfd352e91badf8p+132L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0xf.fffffp+124L : 0x5.7b90ba32fdbc16cfd352e91badfcp+132L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0xf.fffffp+124L : 0x5.7b90ba32fdbc16cfd352e91badf8p+132L 1 : inexact-ok
+= lgamma upward ldbl-128 0xf.fffffp+124L : 0x5.7b90ba32fdbc16cfd352e91badfcp+132L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0xf.fffffp+124L : 0x5.7b90ba32fdbc16cfd352e91bacp+132L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0xf.fffffp+124L : 0x5.7b90ba32fdbc16cfd352e91baep+132L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0xf.fffffp+124L : 0x5.7b90ba32fdbc16cfd352e91bacp+132L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0xf.fffffp+124L : 0x5.7b90ba32fdbc16cfd352e91baep+132L 1 : inexact-ok
+= lgamma downward dbl-64 0xf.ffffffffffff8p+1020 : 0xf.ffffffffffff8p+1020 1 : inexact-ok overflow errno-erange-ok
+= lgamma tonearest dbl-64 0xf.ffffffffffff8p+1020 : plus_infty 1 : inexact-ok overflow errno-erange
+= lgamma towardzero dbl-64 0xf.ffffffffffff8p+1020 : 0xf.ffffffffffff8p+1020 1 : inexact-ok overflow errno-erange-ok
+= lgamma upward dbl-64 0xf.ffffffffffff8p+1020 : plus_infty 1 : inexact-ok overflow errno-erange
+= lgamma downward ldbl-96-intel 0xf.ffffffffffff8p+1020L : 0x2.c4c85fdf473dd08p+1032L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0xf.ffffffffffff8p+1020L : 0x2.c4c85fdf473dd08p+1032L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0xf.ffffffffffff8p+1020L : 0x2.c4c85fdf473dd08p+1032L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0xf.ffffffffffff8p+1020L : 0x2.c4c85fdf473dd084p+1032L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0xf.ffffffffffff8p+1020L : 0x2.c4c85fdf473dd08p+1032L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0xf.ffffffffffff8p+1020L : 0x2.c4c85fdf473dd08p+1032L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0xf.ffffffffffff8p+1020L : 0x2.c4c85fdf473dd08p+1032L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0xf.ffffffffffff8p+1020L : 0x2.c4c85fdf473dd084p+1032L 1 : inexact-ok
+= lgamma downward ldbl-128 0xf.ffffffffffff8p+1020L : 0x2.c4c85fdf473dd080e48fd4262096p+1032L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0xf.ffffffffffff8p+1020L : 0x2.c4c85fdf473dd080e48fd4262096p+1032L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0xf.ffffffffffff8p+1020L : 0x2.c4c85fdf473dd080e48fd4262096p+1032L 1 : inexact-ok
+= lgamma upward ldbl-128 0xf.ffffffffffff8p+1020L : 0x2.c4c85fdf473dd080e48fd4262098p+1032L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0xf.ffffffffffff8p+1020L : 0xf.ffffffffffffbffffffffffffcp+1020L 1 : inexact-ok overflow errno-erange-ok
+= lgamma tonearest ldbl-128ibm 0xf.ffffffffffff8p+1020L : plus_infty 1 : inexact-ok overflow errno-erange
+= lgamma towardzero ldbl-128ibm 0xf.ffffffffffff8p+1020L : 0xf.ffffffffffffbffffffffffffcp+1020L 1 : inexact-ok overflow errno-erange-ok
+= lgamma upward ldbl-128ibm 0xf.ffffffffffff8p+1020L : plus_infty 1 : inexact-ok overflow errno-erange
+= lgamma downward ldbl-96-intel 0xf.fffffffffffffffp+16380L : 0xf.fffffffffffffffp+16380L 1 : inexact-ok overflow errno-erange-ok
+= lgamma tonearest ldbl-96-intel 0xf.fffffffffffffffp+16380L : plus_infty 1 : inexact-ok overflow errno-erange
+= lgamma towardzero ldbl-96-intel 0xf.fffffffffffffffp+16380L : 0xf.fffffffffffffffp+16380L 1 : inexact-ok overflow errno-erange-ok
+= lgamma upward ldbl-96-intel 0xf.fffffffffffffffp+16380L : plus_infty 1 : inexact-ok overflow errno-erange
+= lgamma downward ldbl-96-m68k 0xf.fffffffffffffffp+16380L : 0xf.fffffffffffffffp+16380L 1 : inexact-ok overflow errno-erange-ok
+= lgamma tonearest ldbl-96-m68k 0xf.fffffffffffffffp+16380L : plus_infty 1 : inexact-ok overflow errno-erange
+= lgamma towardzero ldbl-96-m68k 0xf.fffffffffffffffp+16380L : 0xf.fffffffffffffffp+16380L 1 : inexact-ok overflow errno-erange-ok
+= lgamma upward ldbl-96-m68k 0xf.fffffffffffffffp+16380L : plus_infty 1 : inexact-ok overflow errno-erange
+= lgamma downward ldbl-128 0xf.fffffffffffffffp+16380L : 0xf.fffffffffffffffffffffffffff8p+16380L 1 : inexact-ok overflow errno-erange-ok
+= lgamma tonearest ldbl-128 0xf.fffffffffffffffp+16380L : plus_infty 1 : inexact-ok overflow errno-erange
+= lgamma towardzero ldbl-128 0xf.fffffffffffffffp+16380L : 0xf.fffffffffffffffffffffffffff8p+16380L 1 : inexact-ok overflow errno-erange-ok
+= lgamma upward ldbl-128 0xf.fffffffffffffffp+16380L : plus_infty 1 : inexact-ok overflow errno-erange
+= lgamma downward ldbl-128 0xf.fffffffffffffffffffffffffff8p+16380L : 0xf.fffffffffffffffffffffffffff8p+16380L 1 : inexact-ok overflow errno-erange-ok
+= lgamma tonearest ldbl-128 0xf.fffffffffffffffffffffffffff8p+16380L : plus_infty 1 : inexact-ok overflow errno-erange
+= lgamma towardzero ldbl-128 0xf.fffffffffffffffffffffffffff8p+16380L : 0xf.fffffffffffffffffffffffffff8p+16380L 1 : inexact-ok overflow errno-erange-ok
+= lgamma upward ldbl-128 0xf.fffffffffffffffffffffffffff8p+16380L : plus_infty 1 : inexact-ok overflow errno-erange
+= lgamma downward ldbl-128 0xf.ffffffffffffbffffffffffffcp+1020L : 0x2.c4c85fdf473ddb98060f5143177ep+1032L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0xf.ffffffffffffbffffffffffffcp+1020L : 0x2.c4c85fdf473ddb98060f5143178p+1032L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0xf.ffffffffffffbffffffffffffcp+1020L : 0x2.c4c85fdf473ddb98060f5143177ep+1032L 1 : inexact-ok
+= lgamma upward ldbl-128 0xf.ffffffffffffbffffffffffffcp+1020L : 0x2.c4c85fdf473ddb98060f5143178p+1032L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0xf.ffffffffffffbffffffffffffcp+1020L : 0xf.ffffffffffffbffffffffffffcp+1020L 1 : inexact-ok overflow errno-erange-ok
+= lgamma tonearest ldbl-128ibm 0xf.ffffffffffffbffffffffffffcp+1020L : plus_infty 1 : inexact-ok overflow errno-erange
+= lgamma towardzero ldbl-128ibm 0xf.ffffffffffffbffffffffffffcp+1020L : 0xf.ffffffffffffbffffffffffffcp+1020L 1 : inexact-ok overflow errno-erange-ok
+= lgamma upward ldbl-128ibm 0xf.ffffffffffffbffffffffffffcp+1020L : plus_infty 1 : inexact-ok overflow errno-erange
+lgamma 1
+= lgamma downward flt-32 0x1p+0f : 0x0p+0f 1 : inexact-ok
+= lgamma tonearest flt-32 0x1p+0f : 0x0p+0f 1 : inexact-ok
+= lgamma towardzero flt-32 0x1p+0f : 0x0p+0f 1 : inexact-ok
+= lgamma upward flt-32 0x1p+0f : 0x0p+0f 1 : inexact-ok
+= lgamma downward dbl-64 0x1p+0 : 0x0p+0 1 : inexact-ok
+= lgamma tonearest dbl-64 0x1p+0 : 0x0p+0 1 : inexact-ok
+= lgamma towardzero dbl-64 0x1p+0 : 0x0p+0 1 : inexact-ok
+= lgamma upward dbl-64 0x1p+0 : 0x0p+0 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x1p+0L : 0x0p+0L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x1p+0L : 0x0p+0L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x1p+0L : 0x0p+0L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x1p+0L : 0x0p+0L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x1p+0L : 0x0p+0L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x1p+0L : 0x0p+0L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x1p+0L : 0x0p+0L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x1p+0L : 0x0p+0L 1 : inexact-ok
+= lgamma downward ldbl-128 0x1p+0L : 0x0p+0L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x1p+0L : 0x0p+0L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x1p+0L : 0x0p+0L 1 : inexact-ok
+= lgamma upward ldbl-128 0x1p+0L : 0x0p+0L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x1p+0L : 0x0p+0L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x1p+0L : 0x0p+0L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x1p+0L : 0x0p+0L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x1p+0L : 0x0p+0L 1 : inexact-ok
+lgamma 3
+= lgamma downward flt-32 0x3p+0f : 0xb.17217p-4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x3p+0f : 0xb.17218p-4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x3p+0f : 0xb.17217p-4f 1 : inexact-ok
+= lgamma upward flt-32 0x3p+0f : 0xb.17218p-4f 1 : inexact-ok
+= lgamma downward dbl-64 0x3p+0 : 0xb.17217f7d1cf78p-4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x3p+0 : 0xb.17217f7d1cf78p-4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x3p+0 : 0xb.17217f7d1cf78p-4 1 : inexact-ok
+= lgamma upward dbl-64 0x3p+0 : 0xb.17217f7d1cf8p-4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x3p+0L : 0xb.17217f7d1cf79abp-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x3p+0L : 0xb.17217f7d1cf79acp-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x3p+0L : 0xb.17217f7d1cf79abp-4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x3p+0L : 0xb.17217f7d1cf79acp-4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x3p+0L : 0xb.17217f7d1cf79abp-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x3p+0L : 0xb.17217f7d1cf79acp-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x3p+0L : 0xb.17217f7d1cf79abp-4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x3p+0L : 0xb.17217f7d1cf79acp-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x3p+0L : 0xb.17217f7d1cf79abc9e3b39803f28p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x3p+0L : 0xb.17217f7d1cf79abc9e3b39803f3p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x3p+0L : 0xb.17217f7d1cf79abc9e3b39803f28p-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x3p+0L : 0xb.17217f7d1cf79abc9e3b39803f3p-4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x3p+0L : 0xb.17217f7d1cf79abc9e3b39803cp-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x3p+0L : 0xb.17217f7d1cf79abc9e3b39804p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x3p+0L : 0xb.17217f7d1cf79abc9e3b39803cp-4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x3p+0L : 0xb.17217f7d1cf79abc9e3b39804p-4L 1 : inexact-ok
+lgamma 0.5
+= lgamma downward flt-32 0x8p-4f : 0x9.28682p-4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x8p-4f : 0x9.28682p-4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x8p-4f : 0x9.28682p-4f 1 : inexact-ok
+= lgamma upward flt-32 0x8p-4f : 0x9.28683p-4f 1 : inexact-ok
+= lgamma downward dbl-64 0x8p-4 : 0x9.28682473d0de8p-4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x8p-4 : 0x9.28682473d0de8p-4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x8p-4 : 0x9.28682473d0de8p-4 1 : inexact-ok
+= lgamma upward dbl-64 0x8p-4 : 0x9.28682473d0dfp-4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x8p-4L : 0x9.28682473d0de85ep-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x8p-4L : 0x9.28682473d0de85fp-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x8p-4L : 0x9.28682473d0de85ep-4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x8p-4L : 0x9.28682473d0de85fp-4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x8p-4L : 0x9.28682473d0de85ep-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x8p-4L : 0x9.28682473d0de85fp-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x8p-4L : 0x9.28682473d0de85ep-4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x8p-4L : 0x9.28682473d0de85fp-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x8p-4L : 0x9.28682473d0de85eafcab635421f8p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x8p-4L : 0x9.28682473d0de85eafcab635421f8p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x8p-4L : 0x9.28682473d0de85eafcab635421f8p-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x8p-4L : 0x9.28682473d0de85eafcab635422p-4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x8p-4L : 0x9.28682473d0de85eafcab63542p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x8p-4L : 0x9.28682473d0de85eafcab63542p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x8p-4L : 0x9.28682473d0de85eafcab63542p-4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x8p-4L : 0x9.28682473d0de85eafcab635424p-4L 1 : inexact-ok
+lgamma -0.5
+= lgamma downward flt-32 -0x8p-4f : 0x1.43f89ap+0f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x8p-4f : 0x1.43f89ap+0f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x8p-4f : 0x1.43f89ap+0f -1 : inexact-ok
+= lgamma upward flt-32 -0x8p-4f : 0x1.43f89cp+0f -1 : inexact-ok
+= lgamma downward dbl-64 -0x8p-4 : 0x1.43f89a3f0edd6p+0 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x8p-4 : 0x1.43f89a3f0edd6p+0 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x8p-4 : 0x1.43f89a3f0edd6p+0 -1 : inexact-ok
+= lgamma upward dbl-64 -0x8p-4 : 0x1.43f89a3f0edd7p+0 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x8p-4L : 0x1.43f89a3f0edd620ap+0L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x8p-4L : 0x1.43f89a3f0edd620ap+0L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x8p-4L : 0x1.43f89a3f0edd620ap+0L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x8p-4L : 0x1.43f89a3f0edd620cp+0L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x8p-4L : 0x1.43f89a3f0edd620ap+0L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x8p-4L : 0x1.43f89a3f0edd620ap+0L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x8p-4L : 0x1.43f89a3f0edd620ap+0L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x8p-4L : 0x1.43f89a3f0edd620cp+0L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x8p-4L : 0x1.43f89a3f0edd620a79ae69cd4612p+0L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x8p-4L : 0x1.43f89a3f0edd620a79ae69cd4613p+0L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x8p-4L : 0x1.43f89a3f0edd620a79ae69cd4612p+0L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x8p-4L : 0x1.43f89a3f0edd620a79ae69cd4613p+0L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x8p-4L : 0x1.43f89a3f0edd620a79ae69cd46p+0L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x8p-4L : 0x1.43f89a3f0edd620a79ae69cd46p+0L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x8p-4L : 0x1.43f89a3f0edd620a79ae69cd46p+0L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x8p-4L : 0x1.43f89a3f0edd620a79ae69cd468p+0L -1 : inexact-ok
+lgamma 0.7
+= lgamma downward flt-32 0xb.33334p-4f : 0x4.2c831p-4f 1 : inexact-ok
+= lgamma tonearest flt-32 0xb.33334p-4f : 0x4.2c831p-4f 1 : inexact-ok
+= lgamma towardzero flt-32 0xb.33334p-4f : 0x4.2c831p-4f 1 : inexact-ok
+= lgamma upward flt-32 0xb.33334p-4f : 0x4.2c8318p-4f 1 : inexact-ok
+= lgamma downward dbl-64 0xb.33334p-4 : 0x4.2c8312a971bbcp-4 1 : inexact-ok
+= lgamma tonearest dbl-64 0xb.33334p-4 : 0x4.2c8312a971bcp-4 1 : inexact-ok
+= lgamma towardzero dbl-64 0xb.33334p-4 : 0x4.2c8312a971bbcp-4 1 : inexact-ok
+= lgamma upward dbl-64 0xb.33334p-4 : 0x4.2c8312a971bcp-4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0xb.33334p-4L : 0x4.2c8312a971bbf728p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0xb.33334p-4L : 0x4.2c8312a971bbf728p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0xb.33334p-4L : 0x4.2c8312a971bbf728p-4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0xb.33334p-4L : 0x4.2c8312a971bbf73p-4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0xb.33334p-4L : 0x4.2c8312a971bbf728p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0xb.33334p-4L : 0x4.2c8312a971bbf728p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0xb.33334p-4L : 0x4.2c8312a971bbf728p-4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0xb.33334p-4L : 0x4.2c8312a971bbf73p-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0xb.33334p-4L : 0x4.2c8312a971bbf7287f1c24c96238p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0xb.33334p-4L : 0x4.2c8312a971bbf7287f1c24c96238p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0xb.33334p-4L : 0x4.2c8312a971bbf7287f1c24c96238p-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0xb.33334p-4L : 0x4.2c8312a971bbf7287f1c24c9623cp-4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0xb.33334p-4L : 0x4.2c8312a971bbf7287f1c24c962p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0xb.33334p-4L : 0x4.2c8312a971bbf7287f1c24c962p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0xb.33334p-4L : 0x4.2c8312a971bbf7287f1c24c962p-4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0xb.33334p-4L : 0x4.2c8312a971bbf7287f1c24c964p-4L 1 : inexact-ok
+= lgamma downward flt-32 0xb.33333p-4f : 0x4.2c832p-4f 1 : inexact-ok
+= lgamma tonearest flt-32 0xb.33333p-4f : 0x4.2c8328p-4f 1 : inexact-ok
+= lgamma towardzero flt-32 0xb.33333p-4f : 0x4.2c832p-4f 1 : inexact-ok
+= lgamma upward flt-32 0xb.33333p-4f : 0x4.2c8328p-4f 1 : inexact-ok
+= lgamma downward dbl-64 0xb.33333p-4 : 0x4.2c83262ea9194p-4 1 : inexact-ok
+= lgamma tonearest dbl-64 0xb.33333p-4 : 0x4.2c83262ea9194p-4 1 : inexact-ok
+= lgamma towardzero dbl-64 0xb.33333p-4 : 0x4.2c83262ea9194p-4 1 : inexact-ok
+= lgamma upward dbl-64 0xb.33333p-4 : 0x4.2c83262ea9198p-4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0xb.33333p-4L : 0x4.2c83262ea919546p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0xb.33333p-4L : 0x4.2c83262ea9195468p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0xb.33333p-4L : 0x4.2c83262ea919546p-4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0xb.33333p-4L : 0x4.2c83262ea9195468p-4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0xb.33333p-4L : 0x4.2c83262ea919546p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0xb.33333p-4L : 0x4.2c83262ea9195468p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0xb.33333p-4L : 0x4.2c83262ea919546p-4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0xb.33333p-4L : 0x4.2c83262ea9195468p-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0xb.33333p-4L : 0x4.2c83262ea91954655f5ec606838p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0xb.33333p-4L : 0x4.2c83262ea91954655f5ec6068384p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0xb.33333p-4L : 0x4.2c83262ea91954655f5ec606838p-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0xb.33333p-4L : 0x4.2c83262ea91954655f5ec6068384p-4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0xb.33333p-4L : 0x4.2c83262ea91954655f5ec60682p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0xb.33333p-4L : 0x4.2c83262ea91954655f5ec60684p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0xb.33333p-4L : 0x4.2c83262ea91954655f5ec60682p-4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0xb.33333p-4L : 0x4.2c83262ea91954655f5ec60684p-4L 1 : inexact-ok
+= lgamma downward dbl-64 0xb.3333333333338p-4 : 0x4.2c832247379c4p-4 1 : inexact-ok
+= lgamma tonearest dbl-64 0xb.3333333333338p-4 : 0x4.2c832247379c4p-4 1 : inexact-ok
+= lgamma towardzero dbl-64 0xb.3333333333338p-4 : 0x4.2c832247379c4p-4 1 : inexact-ok
+= lgamma upward dbl-64 0xb.3333333333338p-4 : 0x4.2c832247379c8p-4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0xb.3333333333338p-4L : 0x4.2c832247379c436p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0xb.3333333333338p-4L : 0x4.2c832247379c436p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0xb.3333333333338p-4L : 0x4.2c832247379c436p-4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0xb.3333333333338p-4L : 0x4.2c832247379c4368p-4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0xb.3333333333338p-4L : 0x4.2c832247379c436p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0xb.3333333333338p-4L : 0x4.2c832247379c436p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0xb.3333333333338p-4L : 0x4.2c832247379c436p-4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0xb.3333333333338p-4L : 0x4.2c832247379c4368p-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0xb.3333333333338p-4L : 0x4.2c832247379c4363b0be5aa54848p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0xb.3333333333338p-4L : 0x4.2c832247379c4363b0be5aa54848p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0xb.3333333333338p-4L : 0x4.2c832247379c4363b0be5aa54848p-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0xb.3333333333338p-4L : 0x4.2c832247379c4363b0be5aa5484cp-4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0xb.3333333333338p-4L : 0x4.2c832247379c4363b0be5aa548p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0xb.3333333333338p-4L : 0x4.2c832247379c4363b0be5aa548p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0xb.3333333333338p-4L : 0x4.2c832247379c4363b0be5aa548p-4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0xb.3333333333338p-4L : 0x4.2c832247379c4363b0be5aa54ap-4L 1 : inexact-ok
+= lgamma downward dbl-64 0xb.333333333333p-4 : 0x4.2c832247379ccp-4 1 : inexact-ok
+= lgamma tonearest dbl-64 0xb.333333333333p-4 : 0x4.2c832247379ccp-4 1 : inexact-ok
+= lgamma towardzero dbl-64 0xb.333333333333p-4 : 0x4.2c832247379ccp-4 1 : inexact-ok
+= lgamma upward dbl-64 0xb.333333333333p-4 : 0x4.2c832247379dp-4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0xb.333333333333p-4L : 0x4.2c832247379cdf88p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0xb.333333333333p-4L : 0x4.2c832247379cdf9p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0xb.333333333333p-4L : 0x4.2c832247379cdf88p-4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0xb.333333333333p-4L : 0x4.2c832247379cdf9p-4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0xb.333333333333p-4L : 0x4.2c832247379cdf88p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0xb.333333333333p-4L : 0x4.2c832247379cdf9p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0xb.333333333333p-4L : 0x4.2c832247379cdf88p-4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0xb.333333333333p-4L : 0x4.2c832247379cdf9p-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0xb.333333333333p-4L : 0x4.2c832247379cdf8d6c1618623c54p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0xb.333333333333p-4L : 0x4.2c832247379cdf8d6c1618623c58p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0xb.333333333333p-4L : 0x4.2c832247379cdf8d6c1618623c54p-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0xb.333333333333p-4L : 0x4.2c832247379cdf8d6c1618623c58p-4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0xb.333333333333p-4L : 0x4.2c832247379cdf8d6c1618623cp-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0xb.333333333333p-4L : 0x4.2c832247379cdf8d6c1618623cp-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0xb.333333333333p-4L : 0x4.2c832247379cdf8d6c1618623cp-4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0xb.333333333333p-4L : 0x4.2c832247379cdf8d6c1618623ep-4L 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0xb.333333333333334p-4L : 0x4.2c832247379ca1p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0xb.333333333333334p-4L : 0x4.2c832247379ca108p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0xb.333333333333334p-4L : 0x4.2c832247379ca1p-4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0xb.333333333333334p-4L : 0x4.2c832247379ca108p-4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0xb.333333333333334p-4L : 0x4.2c832247379ca1p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0xb.333333333333334p-4L : 0x4.2c832247379ca108p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0xb.333333333333334p-4L : 0x4.2c832247379ca1p-4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0xb.333333333333334p-4L : 0x4.2c832247379ca108p-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0xb.333333333333334p-4L : 0x4.2c832247379ca106b69376ea134p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0xb.333333333333334p-4L : 0x4.2c832247379ca106b69376ea1344p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0xb.333333333333334p-4L : 0x4.2c832247379ca106b69376ea134p-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0xb.333333333333334p-4L : 0x4.2c832247379ca106b69376ea1344p-4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0xb.333333333333334p-4L : 0x4.2c832247379ca106b69376ea12p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0xb.333333333333334p-4L : 0x4.2c832247379ca106b69376ea14p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0xb.333333333333334p-4L : 0x4.2c832247379ca106b69376ea12p-4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0xb.333333333333334p-4L : 0x4.2c832247379ca106b69376ea14p-4L 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0xb.333333333333333p-4L : 0x4.2c832247379ca118p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0xb.333333333333333p-4L : 0x4.2c832247379ca118p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0xb.333333333333333p-4L : 0x4.2c832247379ca118p-4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0xb.333333333333333p-4L : 0x4.2c832247379ca12p-4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0xb.333333333333333p-4L : 0x4.2c832247379ca118p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0xb.333333333333333p-4L : 0x4.2c832247379ca118p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0xb.333333333333333p-4L : 0x4.2c832247379ca118p-4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0xb.333333333333333p-4L : 0x4.2c832247379ca12p-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0xb.333333333333333p-4L : 0x4.2c832247379ca11a3bcae1e1caep-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0xb.333333333333333p-4L : 0x4.2c832247379ca11a3bcae1e1cae4p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0xb.333333333333333p-4L : 0x4.2c832247379ca11a3bcae1e1caep-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0xb.333333333333333p-4L : 0x4.2c832247379ca11a3bcae1e1cae4p-4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0xb.333333333333333p-4L : 0x4.2c832247379ca11a3bcae1e1cap-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0xb.333333333333333p-4L : 0x4.2c832247379ca11a3bcae1e1cap-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0xb.333333333333333p-4L : 0x4.2c832247379ca11a3bcae1e1cap-4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0xb.333333333333333p-4L : 0x4.2c832247379ca11a3bcae1e1ccp-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0xb.3333333333333333333333333338p-4L : 0x4.2c832247379ca11654596616a62p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0xb.3333333333333333333333333338p-4L : 0x4.2c832247379ca11654596616a624p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0xb.3333333333333333333333333338p-4L : 0x4.2c832247379ca11654596616a62p-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0xb.3333333333333333333333333338p-4L : 0x4.2c832247379ca11654596616a624p-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0xb.333333333333333333333333333p-4L : 0x4.2c832247379ca11654596616a62cp-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0xb.333333333333333333333333333p-4L : 0x4.2c832247379ca11654596616a62cp-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0xb.333333333333333333333333333p-4L : 0x4.2c832247379ca11654596616a62cp-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0xb.333333333333333333333333333p-4L : 0x4.2c832247379ca11654596616a63p-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0xb.33333333333333333333333334p-4L : 0x4.2c832247379ca11654596616a52cp-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0xb.33333333333333333333333334p-4L : 0x4.2c832247379ca11654596616a53p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0xb.33333333333333333333333334p-4L : 0x4.2c832247379ca11654596616a52cp-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0xb.33333333333333333333333334p-4L : 0x4.2c832247379ca11654596616a53p-4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0xb.33333333333333333333333334p-4L : 0x4.2c832247379ca11654596616a4p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0xb.33333333333333333333333334p-4L : 0x4.2c832247379ca11654596616a6p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0xb.33333333333333333333333334p-4L : 0x4.2c832247379ca11654596616a4p-4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0xb.33333333333333333333333334p-4L : 0x4.2c832247379ca11654596616a6p-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0xb.3333333333333333333333333p-4L : 0x4.2c832247379ca11654596616aa1p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0xb.3333333333333333333333333p-4L : 0x4.2c832247379ca11654596616aa1p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0xb.3333333333333333333333333p-4L : 0x4.2c832247379ca11654596616aa1p-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0xb.3333333333333333333333333p-4L : 0x4.2c832247379ca11654596616aa14p-4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0xb.3333333333333333333333333p-4L : 0x4.2c832247379ca11654596616aap-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0xb.3333333333333333333333333p-4L : 0x4.2c832247379ca11654596616aap-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0xb.3333333333333333333333333p-4L : 0x4.2c832247379ca11654596616aap-4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0xb.3333333333333333333333333p-4L : 0x4.2c832247379ca11654596616acp-4L 1 : inexact-ok
+lgamma 1.2
+= lgamma downward flt-32 0x1.333334p+0f : -0x1.5db13ep-4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x1.333334p+0f : -0x1.5db13cp-4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x1.333334p+0f : -0x1.5db13cp-4f 1 : inexact-ok
+= lgamma upward flt-32 0x1.333334p+0f : -0x1.5db13cp-4f 1 : inexact-ok
+= lgamma downward dbl-64 0x1.333334p+0 : -0x1.5db13c7af7432p-4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x1.333334p+0 : -0x1.5db13c7af7432p-4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x1.333334p+0 : -0x1.5db13c7af7431p-4 1 : inexact-ok
+= lgamma upward dbl-64 0x1.333334p+0 : -0x1.5db13c7af7431p-4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x1.333334p+0L : -0x1.5db13c7af7431d56p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x1.333334p+0L : -0x1.5db13c7af7431d54p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x1.333334p+0L : -0x1.5db13c7af7431d54p-4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x1.333334p+0L : -0x1.5db13c7af7431d54p-4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x1.333334p+0L : -0x1.5db13c7af7431d56p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x1.333334p+0L : -0x1.5db13c7af7431d54p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x1.333334p+0L : -0x1.5db13c7af7431d54p-4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x1.333334p+0L : -0x1.5db13c7af7431d54p-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x1.333334p+0L : -0x1.5db13c7af7431d54a91acd0484e2p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x1.333334p+0L : -0x1.5db13c7af7431d54a91acd0484e1p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x1.333334p+0L : -0x1.5db13c7af7431d54a91acd0484e1p-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x1.333334p+0L : -0x1.5db13c7af7431d54a91acd0484e1p-4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x1.333334p+0L : -0x1.5db13c7af7431d54a91acd0485p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x1.333334p+0L : -0x1.5db13c7af7431d54a91acd0485p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x1.333334p+0L : -0x1.5db13c7af7431d54a91acd04848p-4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x1.333334p+0L : -0x1.5db13c7af7431d54a91acd04848p-4L 1 : inexact-ok
+= lgamma downward flt-32 0x1.333332p+0f : -0x1.5db134p-4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x1.333332p+0f : -0x1.5db134p-4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x1.333332p+0f : -0x1.5db132p-4f 1 : inexact-ok
+= lgamma upward flt-32 0x1.333332p+0f : -0x1.5db132p-4f 1 : inexact-ok
+= lgamma downward dbl-64 0x1.333332p+0 : -0x1.5db1333b26a22p-4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x1.333332p+0 : -0x1.5db1333b26a22p-4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x1.333332p+0 : -0x1.5db1333b26a21p-4 1 : inexact-ok
+= lgamma upward dbl-64 0x1.333332p+0 : -0x1.5db1333b26a21p-4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x1.333332p+0L : -0x1.5db1333b26a21d94p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x1.333332p+0L : -0x1.5db1333b26a21d94p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x1.333332p+0L : -0x1.5db1333b26a21d92p-4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x1.333332p+0L : -0x1.5db1333b26a21d92p-4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x1.333332p+0L : -0x1.5db1333b26a21d94p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x1.333332p+0L : -0x1.5db1333b26a21d94p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x1.333332p+0L : -0x1.5db1333b26a21d92p-4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x1.333332p+0L : -0x1.5db1333b26a21d92p-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x1.333332p+0L : -0x1.5db1333b26a21d93053dff519c41p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x1.333332p+0L : -0x1.5db1333b26a21d93053dff519c4p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x1.333332p+0L : -0x1.5db1333b26a21d93053dff519c4p-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x1.333332p+0L : -0x1.5db1333b26a21d93053dff519c4p-4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x1.333332p+0L : -0x1.5db1333b26a21d93053dff519c8p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x1.333332p+0L : -0x1.5db1333b26a21d93053dff519c8p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x1.333332p+0L : -0x1.5db1333b26a21d93053dff519cp-4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x1.333332p+0L : -0x1.5db1333b26a21d93053dff519cp-4L 1 : inexact-ok
+= lgamma downward dbl-64 0x1.3333333333334p+0 : -0x1.5db138c7d70cbp-4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x1.3333333333334p+0 : -0x1.5db138c7d70cbp-4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x1.3333333333334p+0 : -0x1.5db138c7d70cap-4 1 : inexact-ok
+= lgamma upward dbl-64 0x1.3333333333334p+0 : -0x1.5db138c7d70cap-4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x1.3333333333334p+0L : -0x1.5db138c7d70cadfep-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x1.3333333333334p+0L : -0x1.5db138c7d70cadfep-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x1.3333333333334p+0L : -0x1.5db138c7d70cadfcp-4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x1.3333333333334p+0L : -0x1.5db138c7d70cadfcp-4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x1.3333333333334p+0L : -0x1.5db138c7d70cadfep-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x1.3333333333334p+0L : -0x1.5db138c7d70cadfep-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x1.3333333333334p+0L : -0x1.5db138c7d70cadfcp-4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x1.3333333333334p+0L : -0x1.5db138c7d70cadfcp-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x1.3333333333334p+0L : -0x1.5db138c7d70cadfd0f2a4555835dp-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x1.3333333333334p+0L : -0x1.5db138c7d70cadfd0f2a4555835dp-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x1.3333333333334p+0L : -0x1.5db138c7d70cadfd0f2a4555835cp-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x1.3333333333334p+0L : -0x1.5db138c7d70cadfd0f2a4555835cp-4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x1.3333333333334p+0L : -0x1.5db138c7d70cadfd0f2a4555838p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x1.3333333333334p+0L : -0x1.5db138c7d70cadfd0f2a4555838p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x1.3333333333334p+0L : -0x1.5db138c7d70cadfd0f2a455583p-4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x1.3333333333334p+0L : -0x1.5db138c7d70cadfd0f2a455583p-4L 1 : inexact-ok
+= lgamma downward dbl-64 0x1.3333333333333p+0 : -0x1.5db138c7d70c7p-4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x1.3333333333333p+0 : -0x1.5db138c7d70c6p-4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x1.3333333333333p+0 : -0x1.5db138c7d70c6p-4 1 : inexact-ok
+= lgamma upward dbl-64 0x1.3333333333333p+0 : -0x1.5db138c7d70c6p-4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x1.3333333333333p+0L : -0x1.5db138c7d70c64p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x1.3333333333333p+0L : -0x1.5db138c7d70c63fep-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x1.3333333333333p+0L : -0x1.5db138c7d70c63fep-4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x1.3333333333333p+0L : -0x1.5db138c7d70c63fep-4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x1.3333333333333p+0L : -0x1.5db138c7d70c64p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x1.3333333333333p+0L : -0x1.5db138c7d70c63fep-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x1.3333333333333p+0L : -0x1.5db138c7d70c63fep-4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x1.3333333333333p+0L : -0x1.5db138c7d70c63fep-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x1.3333333333333p+0L : -0x1.5db138c7d70c63fe8a632b0ceafap-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x1.3333333333333p+0L : -0x1.5db138c7d70c63fe8a632b0ceafap-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x1.3333333333333p+0L : -0x1.5db138c7d70c63fe8a632b0ceaf9p-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x1.3333333333333p+0L : -0x1.5db138c7d70c63fe8a632b0ceaf9p-4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x1.3333333333333p+0L : -0x1.5db138c7d70c63fe8a632b0cebp-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x1.3333333333333p+0L : -0x1.5db138c7d70c63fe8a632b0cebp-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x1.3333333333333p+0L : -0x1.5db138c7d70c63fe8a632b0cea8p-4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x1.3333333333333p+0L : -0x1.5db138c7d70c63fe8a632b0cea8p-4L 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x1.3333333333333334p+0L : -0x1.5db138c7d70c72dp-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x1.3333333333333334p+0L : -0x1.5db138c7d70c72cep-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x1.3333333333333334p+0L : -0x1.5db138c7d70c72cep-4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x1.3333333333333334p+0L : -0x1.5db138c7d70c72cep-4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x1.3333333333333334p+0L : -0x1.5db138c7d70c72dp-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x1.3333333333333334p+0L : -0x1.5db138c7d70c72cep-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x1.3333333333333334p+0L : -0x1.5db138c7d70c72cep-4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x1.3333333333333334p+0L : -0x1.5db138c7d70c72cep-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x1.3333333333333334p+0L : -0x1.5db138c7d70c72cebe78070ff51cp-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x1.3333333333333334p+0L : -0x1.5db138c7d70c72cebe78070ff51bp-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x1.3333333333333334p+0L : -0x1.5db138c7d70c72cebe78070ff51bp-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x1.3333333333333334p+0L : -0x1.5db138c7d70c72cebe78070ff51bp-4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x1.3333333333333334p+0L : -0x1.5db138c7d70c72cebe78070ff58p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x1.3333333333333334p+0L : -0x1.5db138c7d70c72cebe78070ff5p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x1.3333333333333334p+0L : -0x1.5db138c7d70c72cebe78070ff5p-4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x1.3333333333333334p+0L : -0x1.5db138c7d70c72cebe78070ff5p-4L 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x1.3333333333333332p+0L : -0x1.5db138c7d70c72c6p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x1.3333333333333332p+0L : -0x1.5db138c7d70c72c6p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x1.3333333333333332p+0L : -0x1.5db138c7d70c72c4p-4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x1.3333333333333332p+0L : -0x1.5db138c7d70c72c4p-4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x1.3333333333333332p+0L : -0x1.5db138c7d70c72c6p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x1.3333333333333332p+0L : -0x1.5db138c7d70c72c6p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x1.3333333333333332p+0L : -0x1.5db138c7d70c72c4p-4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x1.3333333333333332p+0L : -0x1.5db138c7d70c72c4p-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x1.3333333333333332p+0L : -0x1.5db138c7d70c72c57ea76e2cac08p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x1.3333333333333332p+0L : -0x1.5db138c7d70c72c57ea76e2cac07p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x1.3333333333333332p+0L : -0x1.5db138c7d70c72c57ea76e2cac07p-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x1.3333333333333332p+0L : -0x1.5db138c7d70c72c57ea76e2cac07p-4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x1.3333333333333332p+0L : -0x1.5db138c7d70c72c57ea76e2cac8p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x1.3333333333333332p+0L : -0x1.5db138c7d70c72c57ea76e2cacp-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x1.3333333333333332p+0L : -0x1.5db138c7d70c72c57ea76e2cacp-4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x1.3333333333333332p+0L : -0x1.5db138c7d70c72c57ea76e2cacp-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x1.3333333333333333333333333334p+0L : -0x1.5db138c7d70c72cb0b57c9e83e4bp-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x1.3333333333333333333333333334p+0L : -0x1.5db138c7d70c72cb0b57c9e83e4ap-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x1.3333333333333333333333333334p+0L : -0x1.5db138c7d70c72cb0b57c9e83e4ap-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x1.3333333333333333333333333334p+0L : -0x1.5db138c7d70c72cb0b57c9e83e4ap-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x1.3333333333333333333333333333p+0L : -0x1.5db138c7d70c72cb0b57c9e83e46p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x1.3333333333333333333333333333p+0L : -0x1.5db138c7d70c72cb0b57c9e83e45p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x1.3333333333333333333333333333p+0L : -0x1.5db138c7d70c72cb0b57c9e83e45p-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x1.3333333333333333333333333333p+0L : -0x1.5db138c7d70c72cb0b57c9e83e45p-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x1.333333333333333333333333338p+0L : -0x1.5db138c7d70c72cb0b57c9e83faap-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x1.333333333333333333333333338p+0L : -0x1.5db138c7d70c72cb0b57c9e83faap-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x1.333333333333333333333333338p+0L : -0x1.5db138c7d70c72cb0b57c9e83fa9p-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x1.333333333333333333333333338p+0L : -0x1.5db138c7d70c72cb0b57c9e83fa9p-4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x1.333333333333333333333333338p+0L : -0x1.5db138c7d70c72cb0b57c9e84p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x1.333333333333333333333333338p+0L : -0x1.5db138c7d70c72cb0b57c9e83f8p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x1.333333333333333333333333338p+0L : -0x1.5db138c7d70c72cb0b57c9e83f8p-4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x1.333333333333333333333333338p+0L : -0x1.5db138c7d70c72cb0b57c9e83f8p-4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x1.33333333333333333333333333p+0L : -0x1.5db138c7d70c72cb0b57c9e83d5ap-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x1.33333333333333333333333333p+0L : -0x1.5db138c7d70c72cb0b57c9e83d5ap-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x1.33333333333333333333333333p+0L : -0x1.5db138c7d70c72cb0b57c9e83d59p-4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x1.33333333333333333333333333p+0L : -0x1.5db138c7d70c72cb0b57c9e83d59p-4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x1.33333333333333333333333333p+0L : -0x1.5db138c7d70c72cb0b57c9e83d8p-4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x1.33333333333333333333333333p+0L : -0x1.5db138c7d70c72cb0b57c9e83d8p-4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x1.33333333333333333333333333p+0L : -0x1.5db138c7d70c72cb0b57c9e83dp-4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x1.33333333333333333333333333p+0L : -0x1.5db138c7d70c72cb0b57c9e83dp-4L 1 : inexact-ok
+lgamma 0x1p-5
+= lgamma downward flt-32 0x8p-8f : 0x3.72d02cp+0f 1 : inexact-ok
+= lgamma tonearest flt-32 0x8p-8f : 0x3.72d03p+0f 1 : inexact-ok
+= lgamma towardzero flt-32 0x8p-8f : 0x3.72d02cp+0f 1 : inexact-ok
+= lgamma upward flt-32 0x8p-8f : 0x3.72d03p+0f 1 : inexact-ok
+= lgamma downward dbl-64 0x8p-8 : 0x3.72d02ef880f8cp+0 1 : inexact-ok
+= lgamma tonearest dbl-64 0x8p-8 : 0x3.72d02ef880f8cp+0 1 : inexact-ok
+= lgamma towardzero dbl-64 0x8p-8 : 0x3.72d02ef880f8cp+0 1 : inexact-ok
+= lgamma upward dbl-64 0x8p-8 : 0x3.72d02ef880f8ep+0 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x8p-8L : 0x3.72d02ef880f8c914p+0L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x8p-8L : 0x3.72d02ef880f8c918p+0L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x8p-8L : 0x3.72d02ef880f8c914p+0L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x8p-8L : 0x3.72d02ef880f8c918p+0L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x8p-8L : 0x3.72d02ef880f8c914p+0L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x8p-8L : 0x3.72d02ef880f8c918p+0L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x8p-8L : 0x3.72d02ef880f8c914p+0L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x8p-8L : 0x3.72d02ef880f8c918p+0L 1 : inexact-ok
+= lgamma downward ldbl-128 0x8p-8L : 0x3.72d02ef880f8c917fc232be05e8ep+0L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x8p-8L : 0x3.72d02ef880f8c917fc232be05e9p+0L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x8p-8L : 0x3.72d02ef880f8c917fc232be05e8ep+0L 1 : inexact-ok
+= lgamma upward ldbl-128 0x8p-8L : 0x3.72d02ef880f8c917fc232be05e9p+0L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x8p-8L : 0x3.72d02ef880f8c917fc232be05ep+0L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x8p-8L : 0x3.72d02ef880f8c917fc232be05fp+0L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x8p-8L : 0x3.72d02ef880f8c917fc232be05ep+0L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x8p-8L : 0x3.72d02ef880f8c917fc232be05fp+0L 1 : inexact-ok
+lgamma -0x1p-5
+= lgamma downward flt-32 -0x8p-8f : 0x3.7c0e0cp+0f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x8p-8f : 0x3.7c0e1p+0f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x8p-8f : 0x3.7c0e0cp+0f -1 : inexact-ok
+= lgamma upward flt-32 -0x8p-8f : 0x3.7c0e1p+0f -1 : inexact-ok
+= lgamma downward dbl-64 -0x8p-8 : 0x3.7c0e0ff92f048p+0 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x8p-8 : 0x3.7c0e0ff92f04ap+0 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x8p-8 : 0x3.7c0e0ff92f048p+0 -1 : inexact-ok
+= lgamma upward dbl-64 -0x8p-8 : 0x3.7c0e0ff92f04ap+0 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x8p-8L : 0x3.7c0e0ff92f049584p+0L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x8p-8L : 0x3.7c0e0ff92f049588p+0L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x8p-8L : 0x3.7c0e0ff92f049584p+0L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x8p-8L : 0x3.7c0e0ff92f049588p+0L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x8p-8L : 0x3.7c0e0ff92f049584p+0L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x8p-8L : 0x3.7c0e0ff92f049588p+0L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x8p-8L : 0x3.7c0e0ff92f049584p+0L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x8p-8L : 0x3.7c0e0ff92f049588p+0L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x8p-8L : 0x3.7c0e0ff92f04958709ad5a1ae648p+0L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x8p-8L : 0x3.7c0e0ff92f04958709ad5a1ae648p+0L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x8p-8L : 0x3.7c0e0ff92f04958709ad5a1ae648p+0L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x8p-8L : 0x3.7c0e0ff92f04958709ad5a1ae64ap+0L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x8p-8L : 0x3.7c0e0ff92f04958709ad5a1ae6p+0L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x8p-8L : 0x3.7c0e0ff92f04958709ad5a1ae6p+0L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x8p-8L : 0x3.7c0e0ff92f04958709ad5a1ae6p+0L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x8p-8L : 0x3.7c0e0ff92f04958709ad5a1ae7p+0L -1 : inexact-ok
+lgamma 0x1p-10
+= lgamma downward flt-32 0x4p-12f : 0x6.ee5008p+0f 1 : inexact-ok
+= lgamma tonearest flt-32 0x4p-12f : 0x6.ee5008p+0f 1 : inexact-ok
+= lgamma towardzero flt-32 0x4p-12f : 0x6.ee5008p+0f 1 : inexact-ok
+= lgamma upward flt-32 0x4p-12f : 0x6.ee501p+0f 1 : inexact-ok
+= lgamma downward dbl-64 0x4p-12 : 0x6.ee500bbb72644p+0 1 : inexact-ok
+= lgamma tonearest dbl-64 0x4p-12 : 0x6.ee500bbb72644p+0 1 : inexact-ok
+= lgamma towardzero dbl-64 0x4p-12 : 0x6.ee500bbb72644p+0 1 : inexact-ok
+= lgamma upward dbl-64 0x4p-12 : 0x6.ee500bbb72648p+0 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x4p-12L : 0x6.ee500bbb72645fc8p+0L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x4p-12L : 0x6.ee500bbb72645fdp+0L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x4p-12L : 0x6.ee500bbb72645fc8p+0L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x4p-12L : 0x6.ee500bbb72645fdp+0L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x4p-12L : 0x6.ee500bbb72645fc8p+0L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x4p-12L : 0x6.ee500bbb72645fdp+0L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x4p-12L : 0x6.ee500bbb72645fc8p+0L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x4p-12L : 0x6.ee500bbb72645fdp+0L 1 : inexact-ok
+= lgamma downward ldbl-128 0x4p-12L : 0x6.ee500bbb72645fcecb166c9d8c6p+0L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x4p-12L : 0x6.ee500bbb72645fcecb166c9d8c64p+0L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x4p-12L : 0x6.ee500bbb72645fcecb166c9d8c6p+0L 1 : inexact-ok
+= lgamma upward ldbl-128 0x4p-12L : 0x6.ee500bbb72645fcecb166c9d8c64p+0L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x4p-12L : 0x6.ee500bbb72645fcecb166c9d8cp+0L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x4p-12L : 0x6.ee500bbb72645fcecb166c9d8cp+0L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x4p-12L : 0x6.ee500bbb72645fcecb166c9d8cp+0L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x4p-12L : 0x6.ee500bbb72645fcecb166c9d8ep+0L 1 : inexact-ok
+lgamma -0x1p-10
+= lgamma downward flt-32 -0x4p-12f : 0x6.ee99e8p+0f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x4p-12f : 0x6.ee99fp+0f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x4p-12f : 0x6.ee99e8p+0f -1 : inexact-ok
+= lgamma upward flt-32 -0x4p-12f : 0x6.ee99fp+0f -1 : inexact-ok
+= lgamma downward dbl-64 -0x4p-12 : 0x6.ee99edf298bdcp+0 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x4p-12 : 0x6.ee99edf298bep+0 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x4p-12 : 0x6.ee99edf298bdcp+0 -1 : inexact-ok
+= lgamma upward dbl-64 -0x4p-12 : 0x6.ee99edf298bep+0 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x4p-12L : 0x6.ee99edf298bdfe38p+0L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x4p-12L : 0x6.ee99edf298bdfe38p+0L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x4p-12L : 0x6.ee99edf298bdfe38p+0L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x4p-12L : 0x6.ee99edf298bdfe4p+0L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x4p-12L : 0x6.ee99edf298bdfe38p+0L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x4p-12L : 0x6.ee99edf298bdfe38p+0L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x4p-12L : 0x6.ee99edf298bdfe38p+0L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x4p-12L : 0x6.ee99edf298bdfe4p+0L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x4p-12L : 0x6.ee99edf298bdfe3b9118d8828c54p+0L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x4p-12L : 0x6.ee99edf298bdfe3b9118d8828c58p+0L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x4p-12L : 0x6.ee99edf298bdfe3b9118d8828c54p+0L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x4p-12L : 0x6.ee99edf298bdfe3b9118d8828c58p+0L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x4p-12L : 0x6.ee99edf298bdfe3b9118d8828cp+0L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x4p-12L : 0x6.ee99edf298bdfe3b9118d8828cp+0L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x4p-12L : 0x6.ee99edf298bdfe3b9118d8828cp+0L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x4p-12L : 0x6.ee99edf298bdfe3b9118d8828ep+0L -1 : inexact-ok
+lgamma 0x1p-15
+= lgamma downward flt-32 0x2p-16f : 0xa.65ae3p+0f 1 : inexact-ok
+= lgamma tonearest flt-32 0x2p-16f : 0xa.65ae4p+0f 1 : inexact-ok
+= lgamma towardzero flt-32 0x2p-16f : 0xa.65ae3p+0f 1 : inexact-ok
+= lgamma upward flt-32 0x2p-16f : 0xa.65ae4p+0f 1 : inexact-ok
+= lgamma downward dbl-64 0x2p-16 : 0xa.65ae3fffc5928p+0 1 : inexact-ok
+= lgamma tonearest dbl-64 0x2p-16 : 0xa.65ae3fffc5928p+0 1 : inexact-ok
+= lgamma towardzero dbl-64 0x2p-16 : 0xa.65ae3fffc5928p+0 1 : inexact-ok
+= lgamma upward dbl-64 0x2p-16 : 0xa.65ae3fffc593p+0 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x2p-16L : 0xa.65ae3fffc592bd6p+0L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x2p-16L : 0xa.65ae3fffc592bd6p+0L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x2p-16L : 0xa.65ae3fffc592bd6p+0L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x2p-16L : 0xa.65ae3fffc592bd7p+0L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x2p-16L : 0xa.65ae3fffc592bd6p+0L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x2p-16L : 0xa.65ae3fffc592bd6p+0L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x2p-16L : 0xa.65ae3fffc592bd6p+0L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x2p-16L : 0xa.65ae3fffc592bd7p+0L 1 : inexact-ok
+= lgamma downward ldbl-128 0x2p-16L : 0xa.65ae3fffc592bd634ed0d84877p+0L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x2p-16L : 0xa.65ae3fffc592bd634ed0d8487708p+0L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x2p-16L : 0xa.65ae3fffc592bd634ed0d84877p+0L 1 : inexact-ok
+= lgamma upward ldbl-128 0x2p-16L : 0xa.65ae3fffc592bd634ed0d8487708p+0L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x2p-16L : 0xa.65ae3fffc592bd634ed0d84874p+0L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x2p-16L : 0xa.65ae3fffc592bd634ed0d84878p+0L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x2p-16L : 0xa.65ae3fffc592bd634ed0d84874p+0L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x2p-16L : 0xa.65ae3fffc592bd634ed0d84878p+0L 1 : inexact-ok
+lgamma -0x1p-15
+= lgamma downward flt-32 -0x2p-16f : 0xa.65b08p+0f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x2p-16f : 0xa.65b09p+0f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x2p-16f : 0xa.65b08p+0f -1 : inexact-ok
+= lgamma upward flt-32 -0x2p-16f : 0xa.65b09p+0f -1 : inexact-ok
+= lgamma downward dbl-64 -0x2p-16 : 0xa.65b08f116527p+0 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x2p-16 : 0xa.65b08f116527p+0 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x2p-16 : 0xa.65b08f116527p+0 -1 : inexact-ok
+= lgamma upward dbl-64 -0x2p-16 : 0xa.65b08f1165278p+0 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x2p-16L : 0xa.65b08f1165271d5p+0L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x2p-16L : 0xa.65b08f1165271d6p+0L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x2p-16L : 0xa.65b08f1165271d5p+0L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x2p-16L : 0xa.65b08f1165271d6p+0L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x2p-16L : 0xa.65b08f1165271d5p+0L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x2p-16L : 0xa.65b08f1165271d6p+0L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x2p-16L : 0xa.65b08f1165271d5p+0L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x2p-16L : 0xa.65b08f1165271d6p+0L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x2p-16L : 0xa.65b08f1165271d5bc46c11c53e68p+0L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x2p-16L : 0xa.65b08f1165271d5bc46c11c53e68p+0L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x2p-16L : 0xa.65b08f1165271d5bc46c11c53e68p+0L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x2p-16L : 0xa.65b08f1165271d5bc46c11c53e7p+0L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x2p-16L : 0xa.65b08f1165271d5bc46c11c53cp+0L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x2p-16L : 0xa.65b08f1165271d5bc46c11c54p+0L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x2p-16L : 0xa.65b08f1165271d5bc46c11c53cp+0L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x2p-16L : 0xa.65b08f1165271d5bc46c11c54p+0L -1 : inexact-ok
+lgamma 0x1p-20
+= lgamma downward flt-32 0x1p-20f : 0xd.dce9dp+0f 1 : inexact-ok
+= lgamma tonearest flt-32 0x1p-20f : 0xd.dce9dp+0f 1 : inexact-ok
+= lgamma towardzero flt-32 0x1p-20f : 0xd.dce9dp+0f 1 : inexact-ok
+= lgamma upward flt-32 0x1p-20f : 0xd.dce9ep+0f 1 : inexact-ok
+= lgamma downward dbl-64 0x1p-20 : 0xd.dce9d6201e898p+0 1 : inexact-ok
+= lgamma tonearest dbl-64 0x1p-20 : 0xd.dce9d6201e8ap+0 1 : inexact-ok
+= lgamma towardzero dbl-64 0x1p-20 : 0xd.dce9d6201e898p+0 1 : inexact-ok
+= lgamma upward dbl-64 0x1p-20 : 0xd.dce9d6201e8ap+0 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x1p-20L : 0xd.dce9d6201e89d6bp+0L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x1p-20L : 0xd.dce9d6201e89d6cp+0L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x1p-20L : 0xd.dce9d6201e89d6bp+0L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x1p-20L : 0xd.dce9d6201e89d6cp+0L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x1p-20L : 0xd.dce9d6201e89d6bp+0L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x1p-20L : 0xd.dce9d6201e89d6cp+0L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x1p-20L : 0xd.dce9d6201e89d6bp+0L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x1p-20L : 0xd.dce9d6201e89d6cp+0L 1 : inexact-ok
+= lgamma downward ldbl-128 0x1p-20L : 0xd.dce9d6201e89d6bd62b2e7a79c18p+0L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x1p-20L : 0xd.dce9d6201e89d6bd62b2e7a79c18p+0L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x1p-20L : 0xd.dce9d6201e89d6bd62b2e7a79c18p+0L 1 : inexact-ok
+= lgamma upward ldbl-128 0x1p-20L : 0xd.dce9d6201e89d6bd62b2e7a79c2p+0L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x1p-20L : 0xd.dce9d6201e89d6bd62b2e7a79cp+0L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x1p-20L : 0xd.dce9d6201e89d6bd62b2e7a79cp+0L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x1p-20L : 0xd.dce9d6201e89d6bd62b2e7a79cp+0L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x1p-20L : 0xd.dce9d6201e89d6bd62b2e7a7ap+0L 1 : inexact-ok
+lgamma -0x1p-20
+= lgamma downward flt-32 -0x1p-20f : 0xd.dce9ep+0f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x1p-20f : 0xd.dce9fp+0f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x1p-20f : 0xd.dce9ep+0f -1 : inexact-ok
+= lgamma upward flt-32 -0x1p-20f : 0xd.dce9fp+0f -1 : inexact-ok
+= lgamma downward dbl-64 -0x1p-20 : 0xd.dce9e898ab86p+0 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x1p-20 : 0xd.dce9e898ab868p+0 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x1p-20 : 0xd.dce9e898ab86p+0 -1 : inexact-ok
+= lgamma upward dbl-64 -0x1p-20 : 0xd.dce9e898ab868p+0 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x1p-20L : 0xd.dce9e898ab86468p+0L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x1p-20L : 0xd.dce9e898ab86468p+0L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x1p-20L : 0xd.dce9e898ab86468p+0L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x1p-20L : 0xd.dce9e898ab86469p+0L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x1p-20L : 0xd.dce9e898ab86468p+0L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x1p-20L : 0xd.dce9e898ab86468p+0L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x1p-20L : 0xd.dce9e898ab86468p+0L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x1p-20L : 0xd.dce9e898ab86469p+0L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x1p-20L : 0xd.dce9e898ab8646804e122fd4c418p+0L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x1p-20L : 0xd.dce9e898ab8646804e122fd4c418p+0L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x1p-20L : 0xd.dce9e898ab8646804e122fd4c418p+0L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x1p-20L : 0xd.dce9e898ab8646804e122fd4c42p+0L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x1p-20L : 0xd.dce9e898ab8646804e122fd4c4p+0L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x1p-20L : 0xd.dce9e898ab8646804e122fd4c4p+0L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x1p-20L : 0xd.dce9e898ab8646804e122fd4c4p+0L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x1p-20L : 0xd.dce9e898ab8646804e122fd4c8p+0L -1 : inexact-ok
+lgamma 0x1p-25
+= lgamma downward flt-32 0x8p-28f : 0x1.154244p+4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x8p-28f : 0x1.154246p+4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x8p-28f : 0x1.154244p+4f 1 : inexact-ok
+= lgamma upward flt-32 0x8p-28f : 0x1.154246p+4f 1 : inexact-ok
+= lgamma downward dbl-64 0x8p-28 : 0x1.1542456e99b0fp+4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x8p-28 : 0x1.1542456e99b0fp+4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x8p-28 : 0x1.1542456e99b0fp+4 1 : inexact-ok
+= lgamma upward dbl-64 0x8p-28 : 0x1.1542456e99b1p+4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x8p-28L : 0x1.1542456e99b0f24ap+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x8p-28L : 0x1.1542456e99b0f24ap+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x8p-28L : 0x1.1542456e99b0f24ap+4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x8p-28L : 0x1.1542456e99b0f24cp+4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x8p-28L : 0x1.1542456e99b0f24ap+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x8p-28L : 0x1.1542456e99b0f24ap+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x8p-28L : 0x1.1542456e99b0f24ap+4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x8p-28L : 0x1.1542456e99b0f24cp+4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x8p-28L : 0x1.1542456e99b0f24ab2b908b14803p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x8p-28L : 0x1.1542456e99b0f24ab2b908b14804p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x8p-28L : 0x1.1542456e99b0f24ab2b908b14803p+4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x8p-28L : 0x1.1542456e99b0f24ab2b908b14804p+4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x8p-28L : 0x1.1542456e99b0f24ab2b908b148p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x8p-28L : 0x1.1542456e99b0f24ab2b908b148p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x8p-28L : 0x1.1542456e99b0f24ab2b908b148p+4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x8p-28L : 0x1.1542456e99b0f24ab2b908b1488p+4L 1 : inexact-ok
+lgamma -0x1p-25
+= lgamma downward flt-32 -0x8p-28f : 0x1.154244p+4f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x8p-28f : 0x1.154246p+4f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x8p-28f : 0x1.154244p+4f -1 : inexact-ok
+= lgamma upward flt-32 -0x8p-28f : 0x1.154246p+4f -1 : inexact-ok
+= lgamma downward dbl-64 -0x8p-28 : 0x1.15424577d5f77p+4 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x8p-28 : 0x1.15424577d5f77p+4 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x8p-28 : 0x1.15424577d5f77p+4 -1 : inexact-ok
+= lgamma upward dbl-64 -0x8p-28 : 0x1.15424577d5f78p+4 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x8p-28L : 0x1.15424577d5f77082p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x8p-28L : 0x1.15424577d5f77082p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x8p-28L : 0x1.15424577d5f77082p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x8p-28L : 0x1.15424577d5f77084p+4L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x8p-28L : 0x1.15424577d5f77082p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x8p-28L : 0x1.15424577d5f77082p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x8p-28L : 0x1.15424577d5f77082p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x8p-28L : 0x1.15424577d5f77084p+4L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x8p-28L : 0x1.15424577d5f770828dc71d4bb9a6p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x8p-28L : 0x1.15424577d5f770828dc71d4bb9a7p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x8p-28L : 0x1.15424577d5f770828dc71d4bb9a6p+4L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x8p-28L : 0x1.15424577d5f770828dc71d4bb9a7p+4L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x8p-28L : 0x1.15424577d5f770828dc71d4bb98p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x8p-28L : 0x1.15424577d5f770828dc71d4bb98p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x8p-28L : 0x1.15424577d5f770828dc71d4bb98p+4L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x8p-28L : 0x1.15424577d5f770828dc71d4bbap+4L -1 : inexact-ok
+lgamma 0x1p-30
+= lgamma downward flt-32 0x4p-32f : 0x1.4cb5ecp+4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x4p-32f : 0x1.4cb5ecp+4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x4p-32f : 0x1.4cb5ecp+4f 1 : inexact-ok
+= lgamma upward flt-32 0x4p-32f : 0x1.4cb5eep+4f 1 : inexact-ok
+= lgamma downward dbl-64 0x4p-32 : 0x1.4cb5ecf08473ep+4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x4p-32 : 0x1.4cb5ecf08473fp+4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x4p-32 : 0x1.4cb5ecf08473ep+4 1 : inexact-ok
+= lgamma upward dbl-64 0x4p-32 : 0x1.4cb5ecf08473fp+4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x4p-32L : 0x1.4cb5ecf08473ea2ap+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x4p-32L : 0x1.4cb5ecf08473ea2ap+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x4p-32L : 0x1.4cb5ecf08473ea2ap+4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x4p-32L : 0x1.4cb5ecf08473ea2cp+4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x4p-32L : 0x1.4cb5ecf08473ea2ap+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x4p-32L : 0x1.4cb5ecf08473ea2ap+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x4p-32L : 0x1.4cb5ecf08473ea2ap+4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x4p-32L : 0x1.4cb5ecf08473ea2cp+4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x4p-32L : 0x1.4cb5ecf08473ea2a0dabf1e4d0e9p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x4p-32L : 0x1.4cb5ecf08473ea2a0dabf1e4d0e9p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x4p-32L : 0x1.4cb5ecf08473ea2a0dabf1e4d0e9p+4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x4p-32L : 0x1.4cb5ecf08473ea2a0dabf1e4d0eap+4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x4p-32L : 0x1.4cb5ecf08473ea2a0dabf1e4d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x4p-32L : 0x1.4cb5ecf08473ea2a0dabf1e4d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x4p-32L : 0x1.4cb5ecf08473ea2a0dabf1e4d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x4p-32L : 0x1.4cb5ecf08473ea2a0dabf1e4d1p+4L 1 : inexact-ok
+lgamma -0x1p-30
+= lgamma downward flt-32 -0x4p-32f : 0x1.4cb5ecp+4f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x4p-32f : 0x1.4cb5ecp+4f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x4p-32f : 0x1.4cb5ecp+4f -1 : inexact-ok
+= lgamma upward flt-32 -0x4p-32f : 0x1.4cb5eep+4f -1 : inexact-ok
+= lgamma downward dbl-64 -0x4p-32 : 0x1.4cb5ecf0ce561p+4 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x4p-32 : 0x1.4cb5ecf0ce562p+4 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x4p-32 : 0x1.4cb5ecf0ce561p+4 -1 : inexact-ok
+= lgamma upward dbl-64 -0x4p-32 : 0x1.4cb5ecf0ce562p+4 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x4p-32L : 0x1.4cb5ecf0ce561e1ap+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x4p-32L : 0x1.4cb5ecf0ce561e1cp+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x4p-32L : 0x1.4cb5ecf0ce561e1ap+4L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x4p-32L : 0x1.4cb5ecf0ce561e1cp+4L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x4p-32L : 0x1.4cb5ecf0ce561e1ap+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x4p-32L : 0x1.4cb5ecf0ce561e1cp+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x4p-32L : 0x1.4cb5ecf0ce561e1ap+4L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x4p-32L : 0x1.4cb5ecf0ce561e1cp+4L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x4p-32L : 0x1.4cb5ecf0ce561e1bcc8455ba6e63p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x4p-32L : 0x1.4cb5ecf0ce561e1bcc8455ba6e63p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x4p-32L : 0x1.4cb5ecf0ce561e1bcc8455ba6e63p+4L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x4p-32L : 0x1.4cb5ecf0ce561e1bcc8455ba6e64p+4L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x4p-32L : 0x1.4cb5ecf0ce561e1bcc8455ba6ep+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x4p-32L : 0x1.4cb5ecf0ce561e1bcc8455ba6e8p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x4p-32L : 0x1.4cb5ecf0ce561e1bcc8455ba6ep+4L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x4p-32L : 0x1.4cb5ecf0ce561e1bcc8455ba6e8p+4L -1 : inexact-ok
+lgamma 0x1p-40
+= lgamma downward flt-32 0x1p-40f : 0x1.bb9d3ap+4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x1p-40f : 0x1.bb9d3cp+4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x1p-40f : 0x1.bb9d3ap+4f 1 : inexact-ok
+= lgamma upward flt-32 0x1p-40f : 0x1.bb9d3cp+4f 1 : inexact-ok
+= lgamma downward dbl-64 0x1p-40 : 0x1.bb9d3beb8c7d7p+4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x1p-40 : 0x1.bb9d3beb8c7d7p+4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x1p-40 : 0x1.bb9d3beb8c7d7p+4 1 : inexact-ok
+= lgamma upward dbl-64 0x1p-40 : 0x1.bb9d3beb8c7d8p+4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x1p-40L : 0x1.bb9d3beb8c7d73e6p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x1p-40L : 0x1.bb9d3beb8c7d73e6p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x1p-40L : 0x1.bb9d3beb8c7d73e6p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x1p-40L : 0x1.bb9d3beb8c7d73e8p+4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x1p-40L : 0x1.bb9d3beb8c7d73e6p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x1p-40L : 0x1.bb9d3beb8c7d73e6p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x1p-40L : 0x1.bb9d3beb8c7d73e6p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x1p-40L : 0x1.bb9d3beb8c7d73e8p+4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x1p-40L : 0x1.bb9d3beb8c7d73e6fa81731862c3p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x1p-40L : 0x1.bb9d3beb8c7d73e6fa81731862c3p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x1p-40L : 0x1.bb9d3beb8c7d73e6fa81731862c3p+4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x1p-40L : 0x1.bb9d3beb8c7d73e6fa81731862c4p+4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x1p-40L : 0x1.bb9d3beb8c7d73e6fa817318628p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x1p-40L : 0x1.bb9d3beb8c7d73e6fa81731863p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x1p-40L : 0x1.bb9d3beb8c7d73e6fa817318628p+4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x1p-40L : 0x1.bb9d3beb8c7d73e6fa81731863p+4L 1 : inexact-ok
+lgamma -0x1p-40
+= lgamma downward flt-32 -0x1p-40f : 0x1.bb9d3ap+4f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x1p-40f : 0x1.bb9d3cp+4f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x1p-40f : 0x1.bb9d3ap+4f -1 : inexact-ok
+= lgamma upward flt-32 -0x1p-40f : 0x1.bb9d3cp+4f -1 : inexact-ok
+= lgamma downward dbl-64 -0x1p-40 : 0x1.bb9d3beb8c8fep+4 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x1p-40 : 0x1.bb9d3beb8c8ffp+4 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x1p-40 : 0x1.bb9d3beb8c8fep+4 -1 : inexact-ok
+= lgamma upward dbl-64 -0x1p-40 : 0x1.bb9d3beb8c8ffp+4 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x1p-40L : 0x1.bb9d3beb8c8fec72p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x1p-40L : 0x1.bb9d3beb8c8fec74p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x1p-40L : 0x1.bb9d3beb8c8fec72p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x1p-40L : 0x1.bb9d3beb8c8fec74p+4L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x1p-40L : 0x1.bb9d3beb8c8fec72p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x1p-40L : 0x1.bb9d3beb8c8fec74p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x1p-40L : 0x1.bb9d3beb8c8fec72p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x1p-40L : 0x1.bb9d3beb8c8fec74p+4L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x1p-40L : 0x1.bb9d3beb8c8fec73f6f12931575dp+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x1p-40L : 0x1.bb9d3beb8c8fec73f6f12931575ep+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x1p-40L : 0x1.bb9d3beb8c8fec73f6f12931575dp+4L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x1p-40L : 0x1.bb9d3beb8c8fec73f6f12931575ep+4L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x1p-40L : 0x1.bb9d3beb8c8fec73f6f1293157p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x1p-40L : 0x1.bb9d3beb8c8fec73f6f12931578p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x1p-40L : 0x1.bb9d3beb8c8fec73f6f1293157p+4L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x1p-40L : 0x1.bb9d3beb8c8fec73f6f12931578p+4L -1 : inexact-ok
+lgamma 0x1p-50
+= lgamma downward flt-32 0x4p-52f : 0x2.2a8488p+4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x4p-52f : 0x2.2a848cp+4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x4p-52f : 0x2.2a8488p+4f 1 : inexact-ok
+= lgamma upward flt-32 0x4p-52f : 0x2.2a848cp+4f 1 : inexact-ok
+= lgamma downward dbl-64 0x4p-52 : 0x2.2a848ae66fa84p+4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x4p-52 : 0x2.2a848ae66fa86p+4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x4p-52 : 0x2.2a848ae66fa84p+4 1 : inexact-ok
+= lgamma upward dbl-64 0x4p-52 : 0x2.2a848ae66fa86p+4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x4p-52L : 0x2.2a848ae66fa859e8p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x4p-52L : 0x2.2a848ae66fa859e8p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x4p-52L : 0x2.2a848ae66fa859e8p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x4p-52L : 0x2.2a848ae66fa859ecp+4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x4p-52L : 0x2.2a848ae66fa859e8p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x4p-52L : 0x2.2a848ae66fa859e8p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x4p-52L : 0x2.2a848ae66fa859e8p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x4p-52L : 0x2.2a848ae66fa859ecp+4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x4p-52L : 0x2.2a848ae66fa859e9c54803444a0ap+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x4p-52L : 0x2.2a848ae66fa859e9c54803444a0cp+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x4p-52L : 0x2.2a848ae66fa859e9c54803444a0ap+4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x4p-52L : 0x2.2a848ae66fa859e9c54803444a0cp+4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x4p-52L : 0x2.2a848ae66fa859e9c54803444ap+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x4p-52L : 0x2.2a848ae66fa859e9c54803444ap+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x4p-52L : 0x2.2a848ae66fa859e9c54803444ap+4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x4p-52L : 0x2.2a848ae66fa859e9c54803444bp+4L 1 : inexact-ok
+lgamma -0x1p-50
+= lgamma downward flt-32 -0x4p-52f : 0x2.2a8488p+4f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x4p-52f : 0x2.2a848cp+4f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x4p-52f : 0x2.2a8488p+4f -1 : inexact-ok
+= lgamma upward flt-32 -0x4p-52f : 0x2.2a848cp+4f -1 : inexact-ok
+= lgamma downward dbl-64 -0x4p-52 : 0x2.2a848ae66fa84p+4 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x4p-52 : 0x2.2a848ae66fa86p+4 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x4p-52 : 0x2.2a848ae66fa84p+4 -1 : inexact-ok
+= lgamma upward dbl-64 -0x4p-52 : 0x2.2a848ae66fa86p+4 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x4p-52L : 0x2.2a848ae66fa85e84p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x4p-52L : 0x2.2a848ae66fa85e88p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x4p-52L : 0x2.2a848ae66fa85e84p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x4p-52L : 0x2.2a848ae66fa85e88p+4L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x4p-52L : 0x2.2a848ae66fa85e84p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x4p-52L : 0x2.2a848ae66fa85e88p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x4p-52L : 0x2.2a848ae66fa85e84p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x4p-52L : 0x2.2a848ae66fa85e88p+4L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x4p-52L : 0x2.2a848ae66fa85e87e8871f31d048p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x4p-52L : 0x2.2a848ae66fa85e87e8871f31d048p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x4p-52L : 0x2.2a848ae66fa85e87e8871f31d048p+4L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x4p-52L : 0x2.2a848ae66fa85e87e8871f31d04ap+4L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x4p-52L : 0x2.2a848ae66fa85e87e8871f31dp+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x4p-52L : 0x2.2a848ae66fa85e87e8871f31dp+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x4p-52L : 0x2.2a848ae66fa85e87e8871f31dp+4L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x4p-52L : 0x2.2a848ae66fa85e87e8871f31d1p+4L -1 : inexact-ok
+lgamma 0x1p-60
+= lgamma downward flt-32 0x1p-60f : 0x2.996bd8p+4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x1p-60f : 0x2.996bd8p+4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x1p-60f : 0x2.996bd8p+4f 1 : inexact-ok
+= lgamma upward flt-32 0x1p-60f : 0x2.996bdcp+4f 1 : inexact-ok
+= lgamma downward dbl-64 0x1p-60 : 0x2.996bd9e152cap+4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x1p-60 : 0x2.996bd9e152cap+4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x1p-60 : 0x2.996bd9e152cap+4 1 : inexact-ok
+= lgamma upward dbl-64 0x1p-60 : 0x2.996bd9e152ca2p+4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x1p-60L : 0x2.996bd9e152ca084p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x1p-60L : 0x2.996bd9e152ca0844p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x1p-60L : 0x2.996bd9e152ca084p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x1p-60L : 0x2.996bd9e152ca0844p+4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x1p-60L : 0x2.996bd9e152ca084p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x1p-60L : 0x2.996bd9e152ca0844p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x1p-60L : 0x2.996bd9e152ca084p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x1p-60L : 0x2.996bd9e152ca0844p+4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x1p-60L : 0x2.996bd9e152ca0843a1517996911ep+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x1p-60L : 0x2.996bd9e152ca0843a1517996911ep+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x1p-60L : 0x2.996bd9e152ca0843a1517996911ep+4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x1p-60L : 0x2.996bd9e152ca0843a1517996912p+4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x1p-60L : 0x2.996bd9e152ca0843a151799691p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x1p-60L : 0x2.996bd9e152ca0843a151799691p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x1p-60L : 0x2.996bd9e152ca0843a151799691p+4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x1p-60L : 0x2.996bd9e152ca0843a151799692p+4L 1 : inexact-ok
+lgamma -0x1p-60
+= lgamma downward flt-32 -0x1p-60f : 0x2.996bd8p+4f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x1p-60f : 0x2.996bd8p+4f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x1p-60f : 0x2.996bd8p+4f -1 : inexact-ok
+= lgamma upward flt-32 -0x1p-60f : 0x2.996bdcp+4f -1 : inexact-ok
+= lgamma downward dbl-64 -0x1p-60 : 0x2.996bd9e152cap+4 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x1p-60 : 0x2.996bd9e152cap+4 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x1p-60 : 0x2.996bd9e152cap+4 -1 : inexact-ok
+= lgamma upward dbl-64 -0x1p-60 : 0x2.996bd9e152ca2p+4 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x1p-60L : 0x2.996bd9e152ca0844p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x1p-60L : 0x2.996bd9e152ca0844p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x1p-60L : 0x2.996bd9e152ca0844p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x1p-60L : 0x2.996bd9e152ca0848p+4L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x1p-60L : 0x2.996bd9e152ca0844p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x1p-60L : 0x2.996bd9e152ca0844p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x1p-60L : 0x2.996bd9e152ca0844p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x1p-60L : 0x2.996bd9e152ca0848p+4L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x1p-60L : 0x2.996bd9e152ca0844c8da495d8c7ep+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x1p-60L : 0x2.996bd9e152ca0844c8da495d8c8p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x1p-60L : 0x2.996bd9e152ca0844c8da495d8c7ep+4L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x1p-60L : 0x2.996bd9e152ca0844c8da495d8c8p+4L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x1p-60L : 0x2.996bd9e152ca0844c8da495d8cp+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x1p-60L : 0x2.996bd9e152ca0844c8da495d8cp+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x1p-60L : 0x2.996bd9e152ca0844c8da495d8cp+4L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x1p-60L : 0x2.996bd9e152ca0844c8da495d8dp+4L -1 : inexact-ok
+lgamma 0x1p-64
+= lgamma downward flt-32 0x1p-64f : 0x2.c5c85cp+4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x1p-64f : 0x2.c5c86p+4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x1p-64f : 0x2.c5c85cp+4f 1 : inexact-ok
+= lgamma upward flt-32 0x1p-64f : 0x2.c5c86p+4f 1 : inexact-ok
+= lgamma downward dbl-64 0x1p-64 : 0x2.c5c85fdf473dep+4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x1p-64 : 0x2.c5c85fdf473dep+4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x1p-64 : 0x2.c5c85fdf473dep+4 1 : inexact-ok
+= lgamma upward dbl-64 0x1p-64 : 0x2.c5c85fdf473ep+4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x1p-64L : 0x2.c5c85fdf473de6acp+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x1p-64L : 0x2.c5c85fdf473de6bp+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x1p-64L : 0x2.c5c85fdf473de6acp+4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x1p-64L : 0x2.c5c85fdf473de6bp+4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x1p-64L : 0x2.c5c85fdf473de6acp+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x1p-64L : 0x2.c5c85fdf473de6bp+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x1p-64L : 0x2.c5c85fdf473de6acp+4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x1p-64L : 0x2.c5c85fdf473de6bp+4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x1p-64L : 0x2.c5c85fdf473de6af1e5287e1d7fp+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x1p-64L : 0x2.c5c85fdf473de6af1e5287e1d7fp+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x1p-64L : 0x2.c5c85fdf473de6af1e5287e1d7fp+4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x1p-64L : 0x2.c5c85fdf473de6af1e5287e1d7f2p+4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x1p-64L : 0x2.c5c85fdf473de6af1e5287e1d7p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x1p-64L : 0x2.c5c85fdf473de6af1e5287e1d8p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x1p-64L : 0x2.c5c85fdf473de6af1e5287e1d7p+4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x1p-64L : 0x2.c5c85fdf473de6af1e5287e1d8p+4L 1 : inexact-ok
+lgamma -0x1p-64
+= lgamma downward flt-32 -0x1p-64f : 0x2.c5c85cp+4f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x1p-64f : 0x2.c5c86p+4f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x1p-64f : 0x2.c5c85cp+4f -1 : inexact-ok
+= lgamma upward flt-32 -0x1p-64f : 0x2.c5c86p+4f -1 : inexact-ok
+= lgamma downward dbl-64 -0x1p-64 : 0x2.c5c85fdf473dep+4 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x1p-64 : 0x2.c5c85fdf473dep+4 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x1p-64 : 0x2.c5c85fdf473dep+4 -1 : inexact-ok
+= lgamma upward dbl-64 -0x1p-64 : 0x2.c5c85fdf473ep+4 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x1p-64L : 0x2.c5c85fdf473de6acp+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x1p-64L : 0x2.c5c85fdf473de6bp+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x1p-64L : 0x2.c5c85fdf473de6acp+4L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x1p-64L : 0x2.c5c85fdf473de6bp+4L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x1p-64L : 0x2.c5c85fdf473de6acp+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x1p-64L : 0x2.c5c85fdf473de6bp+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x1p-64L : 0x2.c5c85fdf473de6acp+4L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x1p-64L : 0x2.c5c85fdf473de6bp+4L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x1p-64L : 0x2.c5c85fdf473de6af30cb14de47a6p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x1p-64L : 0x2.c5c85fdf473de6af30cb14de47a6p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x1p-64L : 0x2.c5c85fdf473de6af30cb14de47a6p+4L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x1p-64L : 0x2.c5c85fdf473de6af30cb14de47a8p+4L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x1p-64L : 0x2.c5c85fdf473de6af30cb14de47p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x1p-64L : 0x2.c5c85fdf473de6af30cb14de48p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x1p-64L : 0x2.c5c85fdf473de6af30cb14de47p+4L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x1p-64L : 0x2.c5c85fdf473de6af30cb14de48p+4L -1 : inexact-ok
+lgamma 0x1p-70
+= lgamma downward flt-32 0x4p-72f : 0x3.085328p+4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x4p-72f : 0x3.085328p+4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x4p-72f : 0x3.085328p+4f 1 : inexact-ok
+= lgamma upward flt-32 0x4p-72f : 0x3.08532cp+4f 1 : inexact-ok
+= lgamma downward dbl-64 0x4p-72 : 0x3.085328dc35ebap+4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x4p-72 : 0x3.085328dc35ebcp+4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x4p-72 : 0x3.085328dc35ebap+4 1 : inexact-ok
+= lgamma upward dbl-64 0x4p-72 : 0x3.085328dc35ebcp+4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x4p-72L : 0x3.085328dc35ebb44cp+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x4p-72L : 0x3.085328dc35ebb45p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x4p-72L : 0x3.085328dc35ebb44cp+4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x4p-72L : 0x3.085328dc35ebb45p+4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x4p-72L : 0x3.085328dc35ebb44cp+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x4p-72L : 0x3.085328dc35ebb45p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x4p-72L : 0x3.085328dc35ebb44cp+4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x4p-72L : 0x3.085328dc35ebb45p+4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x4p-72L : 0x3.085328dc35ebb44f931f409f1866p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x4p-72L : 0x3.085328dc35ebb44f931f409f1868p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x4p-72L : 0x3.085328dc35ebb44f931f409f1866p+4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x4p-72L : 0x3.085328dc35ebb44f931f409f1868p+4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x4p-72L : 0x3.085328dc35ebb44f931f409f18p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x4p-72L : 0x3.085328dc35ebb44f931f409f18p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x4p-72L : 0x3.085328dc35ebb44f931f409f18p+4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x4p-72L : 0x3.085328dc35ebb44f931f409f19p+4L 1 : inexact-ok
+lgamma -0x1p-70
+= lgamma downward flt-32 -0x4p-72f : 0x3.085328p+4f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x4p-72f : 0x3.085328p+4f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x4p-72f : 0x3.085328p+4f -1 : inexact-ok
+= lgamma upward flt-32 -0x4p-72f : 0x3.08532cp+4f -1 : inexact-ok
+= lgamma downward dbl-64 -0x4p-72 : 0x3.085328dc35ebap+4 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x4p-72 : 0x3.085328dc35ebcp+4 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x4p-72 : 0x3.085328dc35ebap+4 -1 : inexact-ok
+= lgamma upward dbl-64 -0x4p-72 : 0x3.085328dc35ebcp+4 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x4p-72L : 0x3.085328dc35ebb44cp+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x4p-72L : 0x3.085328dc35ebb45p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x4p-72L : 0x3.085328dc35ebb44cp+4L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x4p-72L : 0x3.085328dc35ebb45p+4L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x4p-72L : 0x3.085328dc35ebb44cp+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x4p-72L : 0x3.085328dc35ebb45p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x4p-72L : 0x3.085328dc35ebb44cp+4L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x4p-72L : 0x3.085328dc35ebb45p+4L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x4p-72L : 0x3.085328dc35ebb44f936922d30a26p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x4p-72L : 0x3.085328dc35ebb44f936922d30a26p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x4p-72L : 0x3.085328dc35ebb44f936922d30a26p+4L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x4p-72L : 0x3.085328dc35ebb44f936922d30a28p+4L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x4p-72L : 0x3.085328dc35ebb44f936922d30ap+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x4p-72L : 0x3.085328dc35ebb44f936922d30ap+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x4p-72L : 0x3.085328dc35ebb44f936922d30ap+4L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x4p-72L : 0x3.085328dc35ebb44f936922d30bp+4L -1 : inexact-ok
+lgamma 0x1p-100
+= lgamma downward flt-32 0x1p-100f : 0x4.55091p+4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x1p-100f : 0x4.550918p+4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x1p-100f : 0x4.55091p+4f 1 : inexact-ok
+= lgamma upward flt-32 0x1p-100f : 0x4.550918p+4f 1 : inexact-ok
+= lgamma downward dbl-64 0x1p-100 : 0x4.550915ccdf508p+4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x1p-100 : 0x4.550915ccdf50cp+4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x1p-100 : 0x4.550915ccdf508p+4 1 : inexact-ok
+= lgamma upward dbl-64 0x1p-100 : 0x4.550915ccdf50cp+4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x1p-100L : 0x4.550915ccdf50b87p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x1p-100L : 0x4.550915ccdf50b87p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x1p-100L : 0x4.550915ccdf50b87p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x1p-100L : 0x4.550915ccdf50b878p+4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x1p-100L : 0x4.550915ccdf50b87p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x1p-100L : 0x4.550915ccdf50b87p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x1p-100L : 0x4.550915ccdf50b87p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x1p-100L : 0x4.550915ccdf50b878p+4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x1p-100L : 0x4.550915ccdf50b871adcf22761818p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x1p-100L : 0x4.550915ccdf50b871adcf2276181cp+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x1p-100L : 0x4.550915ccdf50b871adcf22761818p+4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x1p-100L : 0x4.550915ccdf50b871adcf2276181cp+4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x1p-100L : 0x4.550915ccdf50b871adcf227618p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x1p-100L : 0x4.550915ccdf50b871adcf227618p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x1p-100L : 0x4.550915ccdf50b871adcf227618p+4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x1p-100L : 0x4.550915ccdf50b871adcf22761ap+4L 1 : inexact-ok
+lgamma -0x1p-100
+= lgamma downward flt-32 -0x1p-100f : 0x4.55091p+4f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x1p-100f : 0x4.550918p+4f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x1p-100f : 0x4.55091p+4f -1 : inexact-ok
+= lgamma upward flt-32 -0x1p-100f : 0x4.550918p+4f -1 : inexact-ok
+= lgamma downward dbl-64 -0x1p-100 : 0x4.550915ccdf508p+4 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x1p-100 : 0x4.550915ccdf50cp+4 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x1p-100 : 0x4.550915ccdf508p+4 -1 : inexact-ok
+= lgamma upward dbl-64 -0x1p-100 : 0x4.550915ccdf50cp+4 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x1p-100L : 0x4.550915ccdf50b87p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x1p-100L : 0x4.550915ccdf50b87p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x1p-100L : 0x4.550915ccdf50b87p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x1p-100L : 0x4.550915ccdf50b878p+4L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x1p-100L : 0x4.550915ccdf50b87p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x1p-100L : 0x4.550915ccdf50b87p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x1p-100L : 0x4.550915ccdf50b87p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x1p-100L : 0x4.550915ccdf50b878p+4L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x1p-100L : 0x4.550915ccdf50b871adcf2276194p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x1p-100L : 0x4.550915ccdf50b871adcf22761944p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x1p-100L : 0x4.550915ccdf50b871adcf2276194p+4L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x1p-100L : 0x4.550915ccdf50b871adcf22761944p+4L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x1p-100L : 0x4.550915ccdf50b871adcf227618p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x1p-100L : 0x4.550915ccdf50b871adcf22761ap+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x1p-100L : 0x4.550915ccdf50b871adcf227618p+4L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x1p-100L : 0x4.550915ccdf50b871adcf22761ap+4L -1 : inexact-ok
+lgamma 0x1p-126
+= lgamma downward flt-32 0x4p-128f : 0x5.756278p+4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x4p-128f : 0x5.75628p+4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x4p-128f : 0x5.756278p+4f 1 : inexact-ok
+= lgamma upward flt-32 0x4p-128f : 0x5.75628p+4f 1 : inexact-ok
+= lgamma downward dbl-64 0x4p-128 : 0x5.75627cbf9441cp+4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x4p-128 : 0x5.75627cbf9441cp+4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x4p-128 : 0x5.75627cbf9441cp+4 1 : inexact-ok
+= lgamma upward dbl-64 0x4p-128 : 0x5.75627cbf9442p+4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x4p-128L : 0x5.75627cbf9441de28p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x4p-128L : 0x5.75627cbf9441de28p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x4p-128L : 0x5.75627cbf9441de28p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x4p-128L : 0x5.75627cbf9441de3p+4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x4p-128L : 0x5.75627cbf9441de28p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x4p-128L : 0x5.75627cbf9441de28p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x4p-128L : 0x5.75627cbf9441de28p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x4p-128L : 0x5.75627cbf9441de3p+4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x4p-128L : 0x5.75627cbf9441de28d5e1264d1f18p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x4p-128L : 0x5.75627cbf9441de28d5e1264d1f18p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x4p-128L : 0x5.75627cbf9441de28d5e1264d1f18p+4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x4p-128L : 0x5.75627cbf9441de28d5e1264d1f1cp+4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x4p-128L : 0x5.75627cbf9441de28d5e1264d1ep+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x4p-128L : 0x5.75627cbf9441de28d5e1264d2p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x4p-128L : 0x5.75627cbf9441de28d5e1264d1ep+4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x4p-128L : 0x5.75627cbf9441de28d5e1264d2p+4L 1 : inexact-ok
+lgamma -0x1p-126
+= lgamma downward flt-32 -0x4p-128f : 0x5.756278p+4f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x4p-128f : 0x5.75628p+4f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x4p-128f : 0x5.756278p+4f -1 : inexact-ok
+= lgamma upward flt-32 -0x4p-128f : 0x5.75628p+4f -1 : inexact-ok
+= lgamma downward dbl-64 -0x4p-128 : 0x5.75627cbf9441cp+4 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x4p-128 : 0x5.75627cbf9441cp+4 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x4p-128 : 0x5.75627cbf9441cp+4 -1 : inexact-ok
+= lgamma upward dbl-64 -0x4p-128 : 0x5.75627cbf9442p+4 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x4p-128L : 0x5.75627cbf9441de28p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x4p-128L : 0x5.75627cbf9441de28p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x4p-128L : 0x5.75627cbf9441de28p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x4p-128L : 0x5.75627cbf9441de3p+4L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x4p-128L : 0x5.75627cbf9441de28p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x4p-128L : 0x5.75627cbf9441de28p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x4p-128L : 0x5.75627cbf9441de28p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x4p-128L : 0x5.75627cbf9441de3p+4L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x4p-128L : 0x5.75627cbf9441de28d5e1264d1f18p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x4p-128L : 0x5.75627cbf9441de28d5e1264d1f18p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x4p-128L : 0x5.75627cbf9441de28d5e1264d1f18p+4L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x4p-128L : 0x5.75627cbf9441de28d5e1264d1f1cp+4L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x4p-128L : 0x5.75627cbf9441de28d5e1264d1ep+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x4p-128L : 0x5.75627cbf9441de28d5e1264d2p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x4p-128L : 0x5.75627cbf9441de28d5e1264d1ep+4L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x4p-128L : 0x5.75627cbf9441de28d5e1264d2p+4L -1 : inexact-ok
+lgamma 0x1p-149
+= lgamma downward flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma upward flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma downward dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma upward dbl-64 0x8p-152 : 0x6.74767f33d1dc4p+4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L 1 : inexact-ok
+lgamma -0x1p-149
+= lgamma downward flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma upward flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma downward dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma upward dbl-64 -0x8p-152 : 0x6.74767f33d1dc4p+4 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L -1 : inexact-ok
+lgamma 0x1p-200
+= lgamma downward flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma upward flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma downward dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma upward dbl-64 0x8p-152 : 0x6.74767f33d1dc4p+4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L 1 : inexact-ok
+= lgamma downward dbl-64 0x1p-200 : 0x8.aa122b99bea1p+4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x1p-200 : 0x8.aa122b99bea18p+4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x1p-200 : 0x8.aa122b99bea1p+4 1 : inexact-ok
+= lgamma upward dbl-64 0x1p-200 : 0x8.aa122b99bea18p+4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x1p-200L : 0x8.aa122b99bea170ep+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x1p-200L : 0x8.aa122b99bea170ep+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x1p-200L : 0x8.aa122b99bea170ep+4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x1p-200L : 0x8.aa122b99bea170fp+4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x1p-200L : 0x8.aa122b99bea170ep+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x1p-200L : 0x8.aa122b99bea170ep+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x1p-200L : 0x8.aa122b99bea170ep+4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x1p-200L : 0x8.aa122b99bea170fp+4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x1p-200L : 0x8.aa122b99bea170e35b9e44ec3158p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x1p-200L : 0x8.aa122b99bea170e35b9e44ec316p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x1p-200L : 0x8.aa122b99bea170e35b9e44ec3158p+4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x1p-200L : 0x8.aa122b99bea170e35b9e44ec316p+4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x1p-200L : 0x8.aa122b99bea170e35b9e44ec3p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x1p-200L : 0x8.aa122b99bea170e35b9e44ec3p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x1p-200L : 0x8.aa122b99bea170e35b9e44ec3p+4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x1p-200L : 0x8.aa122b99bea170e35b9e44ec34p+4L 1 : inexact-ok
+lgamma -0x1p-200
+= lgamma downward flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma upward flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma downward dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma upward dbl-64 -0x8p-152 : 0x6.74767f33d1dc4p+4 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L -1 : inexact-ok
+= lgamma downward dbl-64 -0x1p-200 : 0x8.aa122b99bea1p+4 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x1p-200 : 0x8.aa122b99bea18p+4 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x1p-200 : 0x8.aa122b99bea1p+4 -1 : inexact-ok
+= lgamma upward dbl-64 -0x1p-200 : 0x8.aa122b99bea18p+4 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x1p-200L : 0x8.aa122b99bea170ep+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x1p-200L : 0x8.aa122b99bea170ep+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x1p-200L : 0x8.aa122b99bea170ep+4L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x1p-200L : 0x8.aa122b99bea170fp+4L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x1p-200L : 0x8.aa122b99bea170ep+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x1p-200L : 0x8.aa122b99bea170ep+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x1p-200L : 0x8.aa122b99bea170ep+4L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x1p-200L : 0x8.aa122b99bea170fp+4L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x1p-200L : 0x8.aa122b99bea170e35b9e44ec3158p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x1p-200L : 0x8.aa122b99bea170e35b9e44ec316p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x1p-200L : 0x8.aa122b99bea170e35b9e44ec3158p+4L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x1p-200L : 0x8.aa122b99bea170e35b9e44ec316p+4L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x1p-200L : 0x8.aa122b99bea170e35b9e44ec3p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x1p-200L : 0x8.aa122b99bea170e35b9e44ec3p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x1p-200L : 0x8.aa122b99bea170e35b9e44ec3p+4L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x1p-200L : 0x8.aa122b99bea170e35b9e44ec34p+4L -1 : inexact-ok
+lgamma 0x1p-500
+= lgamma downward flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma upward flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma downward dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma upward dbl-64 0x8p-152 : 0x6.74767f33d1dc4p+4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L 1 : inexact-ok
+= lgamma downward dbl-64 0x1p-500 : 0x1.5a92d6d005c93p+8 1 : inexact-ok
+= lgamma tonearest dbl-64 0x1p-500 : 0x1.5a92d6d005c94p+8 1 : inexact-ok
+= lgamma towardzero dbl-64 0x1p-500 : 0x1.5a92d6d005c93p+8 1 : inexact-ok
+= lgamma upward dbl-64 0x1p-500 : 0x1.5a92d6d005c94p+8 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x1p-500L : 0x1.5a92d6d005c939a2p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x1p-500L : 0x1.5a92d6d005c939a4p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x1p-500L : 0x1.5a92d6d005c939a2p+8L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x1p-500L : 0x1.5a92d6d005c939a4p+8L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x1p-500L : 0x1.5a92d6d005c939a2p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x1p-500L : 0x1.5a92d6d005c939a4p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x1p-500L : 0x1.5a92d6d005c939a2p+8L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x1p-500L : 0x1.5a92d6d005c939a4p+8L 1 : inexact-ok
+= lgamma downward ldbl-128 0x1p-500L : 0x1.5a92d6d005c939a38650bac4e7b6p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x1p-500L : 0x1.5a92d6d005c939a38650bac4e7b7p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x1p-500L : 0x1.5a92d6d005c939a38650bac4e7b6p+8L 1 : inexact-ok
+= lgamma upward ldbl-128 0x1p-500L : 0x1.5a92d6d005c939a38650bac4e7b7p+8L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x1p-500L : 0x1.5a92d6d005c939a38650bac4e78p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x1p-500L : 0x1.5a92d6d005c939a38650bac4e78p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x1p-500L : 0x1.5a92d6d005c939a38650bac4e78p+8L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x1p-500L : 0x1.5a92d6d005c939a38650bac4e8p+8L 1 : inexact-ok
+lgamma -0x1p-500
+= lgamma downward flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma upward flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma downward dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma upward dbl-64 -0x8p-152 : 0x6.74767f33d1dc4p+4 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L -1 : inexact-ok
+= lgamma downward dbl-64 -0x1p-500 : 0x1.5a92d6d005c93p+8 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x1p-500 : 0x1.5a92d6d005c94p+8 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x1p-500 : 0x1.5a92d6d005c93p+8 -1 : inexact-ok
+= lgamma upward dbl-64 -0x1p-500 : 0x1.5a92d6d005c94p+8 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x1p-500L : 0x1.5a92d6d005c939a2p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x1p-500L : 0x1.5a92d6d005c939a4p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x1p-500L : 0x1.5a92d6d005c939a2p+8L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x1p-500L : 0x1.5a92d6d005c939a4p+8L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x1p-500L : 0x1.5a92d6d005c939a2p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x1p-500L : 0x1.5a92d6d005c939a4p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x1p-500L : 0x1.5a92d6d005c939a2p+8L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x1p-500L : 0x1.5a92d6d005c939a4p+8L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x1p-500L : 0x1.5a92d6d005c939a38650bac4e7b6p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x1p-500L : 0x1.5a92d6d005c939a38650bac4e7b7p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x1p-500L : 0x1.5a92d6d005c939a38650bac4e7b6p+8L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x1p-500L : 0x1.5a92d6d005c939a38650bac4e7b7p+8L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x1p-500L : 0x1.5a92d6d005c939a38650bac4e78p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x1p-500L : 0x1.5a92d6d005c939a38650bac4e78p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x1p-500L : 0x1.5a92d6d005c939a38650bac4e78p+8L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x1p-500L : 0x1.5a92d6d005c939a38650bac4e8p+8L -1 : inexact-ok
+lgamma 0x1p-1000
+= lgamma downward flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma upward flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma downward dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma upward dbl-64 0x8p-152 : 0x6.74767f33d1dc4p+4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L 1 : inexact-ok
+= lgamma downward dbl-64 0x1p-1000 : 0x2.b525ada00b926p+8 1 : inexact-ok
+= lgamma tonearest dbl-64 0x1p-1000 : 0x2.b525ada00b928p+8 1 : inexact-ok
+= lgamma towardzero dbl-64 0x1p-1000 : 0x2.b525ada00b926p+8 1 : inexact-ok
+= lgamma upward dbl-64 0x1p-1000 : 0x2.b525ada00b928p+8 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x1p-1000L : 0x2.b525ada00b927344p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x1p-1000L : 0x2.b525ada00b927348p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x1p-1000L : 0x2.b525ada00b927344p+8L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x1p-1000L : 0x2.b525ada00b927348p+8L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x1p-1000L : 0x2.b525ada00b927344p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x1p-1000L : 0x2.b525ada00b927348p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x1p-1000L : 0x2.b525ada00b927344p+8L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x1p-1000L : 0x2.b525ada00b927348p+8L 1 : inexact-ok
+= lgamma downward ldbl-128 0x1p-1000L : 0x2.b525ada00b9273470ca17589cf6cp+8L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x1p-1000L : 0x2.b525ada00b9273470ca17589cf6ep+8L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x1p-1000L : 0x2.b525ada00b9273470ca17589cf6cp+8L 1 : inexact-ok
+= lgamma upward ldbl-128 0x1p-1000L : 0x2.b525ada00b9273470ca17589cf6ep+8L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x1p-1000L : 0x2.b525ada00b9273470ca17589cfp+8L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x1p-1000L : 0x2.b525ada00b9273470ca17589cfp+8L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x1p-1000L : 0x2.b525ada00b9273470ca17589cfp+8L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x1p-1000L : 0x2.b525ada00b9273470ca17589dp+8L 1 : inexact-ok
+lgamma -0x1p-1000
+= lgamma downward flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma upward flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma downward dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma upward dbl-64 -0x8p-152 : 0x6.74767f33d1dc4p+4 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L -1 : inexact-ok
+= lgamma downward dbl-64 -0x1p-1000 : 0x2.b525ada00b926p+8 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x1p-1000 : 0x2.b525ada00b928p+8 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x1p-1000 : 0x2.b525ada00b926p+8 -1 : inexact-ok
+= lgamma upward dbl-64 -0x1p-1000 : 0x2.b525ada00b928p+8 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x1p-1000L : 0x2.b525ada00b927344p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x1p-1000L : 0x2.b525ada00b927348p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x1p-1000L : 0x2.b525ada00b927344p+8L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x1p-1000L : 0x2.b525ada00b927348p+8L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x1p-1000L : 0x2.b525ada00b927344p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x1p-1000L : 0x2.b525ada00b927348p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x1p-1000L : 0x2.b525ada00b927344p+8L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x1p-1000L : 0x2.b525ada00b927348p+8L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x1p-1000L : 0x2.b525ada00b9273470ca17589cf6cp+8L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x1p-1000L : 0x2.b525ada00b9273470ca17589cf6ep+8L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x1p-1000L : 0x2.b525ada00b9273470ca17589cf6cp+8L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x1p-1000L : 0x2.b525ada00b9273470ca17589cf6ep+8L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x1p-1000L : 0x2.b525ada00b9273470ca17589cfp+8L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x1p-1000L : 0x2.b525ada00b9273470ca17589cfp+8L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x1p-1000L : 0x2.b525ada00b9273470ca17589cfp+8L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x1p-1000L : 0x2.b525ada00b9273470ca17589dp+8L -1 : inexact-ok
+lgamma 0x1p-1022
+= lgamma downward flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma upward flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma downward dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma upward dbl-64 0x8p-152 : 0x6.74767f33d1dc4p+4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L 1 : inexact-ok
+= lgamma downward dbl-64 0x4p-1024 : 0x2.c4657baf579a4p+8 1 : inexact-ok
+= lgamma tonearest dbl-64 0x4p-1024 : 0x2.c4657baf579a4p+8 1 : inexact-ok
+= lgamma towardzero dbl-64 0x4p-1024 : 0x2.c4657baf579a4p+8 1 : inexact-ok
+= lgamma upward dbl-64 0x4p-1024 : 0x2.c4657baf579a6p+8 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x4p-1024L : 0x2.c4657baf579a47b8p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x4p-1024L : 0x2.c4657baf579a47bcp+8L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x4p-1024L : 0x2.c4657baf579a47b8p+8L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x4p-1024L : 0x2.c4657baf579a47bcp+8L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x4p-1024L : 0x2.c4657baf579a47b8p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x4p-1024L : 0x2.c4657baf579a47bcp+8L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x4p-1024L : 0x2.c4657baf579a47b8p+8L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x4p-1024L : 0x2.c4657baf579a47bcp+8L 1 : inexact-ok
+= lgamma downward ldbl-128 0x4p-1024L : 0x2.c4657baf579a47bbcffb06f8dfc2p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x4p-1024L : 0x2.c4657baf579a47bbcffb06f8dfc4p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x4p-1024L : 0x2.c4657baf579a47bbcffb06f8dfc2p+8L 1 : inexact-ok
+= lgamma upward ldbl-128 0x4p-1024L : 0x2.c4657baf579a47bbcffb06f8dfc4p+8L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x4p-1024L : 0x2.c4657baf579a47bbcffb06f8dfp+8L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x4p-1024L : 0x2.c4657baf579a47bbcffb06f8ep+8L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x4p-1024L : 0x2.c4657baf579a47bbcffb06f8dfp+8L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x4p-1024L : 0x2.c4657baf579a47bbcffb06f8ep+8L 1 : inexact-ok
+lgamma -0x1p-1022
+= lgamma downward flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma upward flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma downward dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma upward dbl-64 -0x8p-152 : 0x6.74767f33d1dc4p+4 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L -1 : inexact-ok
+= lgamma downward dbl-64 -0x4p-1024 : 0x2.c4657baf579a4p+8 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x4p-1024 : 0x2.c4657baf579a4p+8 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x4p-1024 : 0x2.c4657baf579a4p+8 -1 : inexact-ok
+= lgamma upward dbl-64 -0x4p-1024 : 0x2.c4657baf579a6p+8 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x4p-1024L : 0x2.c4657baf579a47b8p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x4p-1024L : 0x2.c4657baf579a47bcp+8L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x4p-1024L : 0x2.c4657baf579a47b8p+8L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x4p-1024L : 0x2.c4657baf579a47bcp+8L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x4p-1024L : 0x2.c4657baf579a47b8p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x4p-1024L : 0x2.c4657baf579a47bcp+8L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x4p-1024L : 0x2.c4657baf579a47b8p+8L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x4p-1024L : 0x2.c4657baf579a47bcp+8L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x4p-1024L : 0x2.c4657baf579a47bbcffb06f8dfc2p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x4p-1024L : 0x2.c4657baf579a47bbcffb06f8dfc4p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x4p-1024L : 0x2.c4657baf579a47bbcffb06f8dfc2p+8L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x4p-1024L : 0x2.c4657baf579a47bbcffb06f8dfc4p+8L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x4p-1024L : 0x2.c4657baf579a47bbcffb06f8dfp+8L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x4p-1024L : 0x2.c4657baf579a47bbcffb06f8ep+8L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x4p-1024L : 0x2.c4657baf579a47bbcffb06f8dfp+8L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x4p-1024L : 0x2.c4657baf579a47bbcffb06f8ep+8L -1 : inexact-ok
+lgamma 0x1p-1074
+= lgamma downward flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma upward flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma downward dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma upward dbl-64 0x8p-152 : 0x6.74767f33d1dc4p+4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L 1 : inexact-ok
+= lgamma downward dbl-64 0x4p-1076 : 0x2.e870a88dae386p+8 1 : inexact-ok
+= lgamma tonearest dbl-64 0x4p-1076 : 0x2.e870a88dae386p+8 1 : inexact-ok
+= lgamma towardzero dbl-64 0x4p-1076 : 0x2.e870a88dae386p+8 1 : inexact-ok
+= lgamma upward dbl-64 0x4p-1076 : 0x2.e870a88dae388p+8 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma downward ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L 1 : inexact-ok
+= lgamma upward ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L 1 : inexact-ok
+lgamma -0x1p-1074
+= lgamma downward flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma upward flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma downward dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma upward dbl-64 -0x8p-152 : 0x6.74767f33d1dc4p+4 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L -1 : inexact-ok
+= lgamma downward dbl-64 -0x4p-1076 : 0x2.e870a88dae386p+8 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x4p-1076 : 0x2.e870a88dae386p+8 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x4p-1076 : 0x2.e870a88dae386p+8 -1 : inexact-ok
+= lgamma upward dbl-64 -0x4p-1076 : 0x2.e870a88dae388p+8 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L -1 : inexact-ok
+lgamma 0x1p-5000
+= lgamma downward flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma upward flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma downward dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma upward dbl-64 0x8p-152 : 0x6.74767f33d1dc4p+4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L 1 : inexact-ok
+= lgamma downward dbl-64 0x4p-1076 : 0x2.e870a88dae386p+8 1 : inexact-ok
+= lgamma tonearest dbl-64 0x4p-1076 : 0x2.e870a88dae386p+8 1 : inexact-ok
+= lgamma towardzero dbl-64 0x4p-1076 : 0x2.e870a88dae386p+8 1 : inexact-ok
+= lgamma upward dbl-64 0x4p-1076 : 0x2.e870a88dae388p+8 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma downward ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L 1 : inexact-ok
+= lgamma upward ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x1p-5000L : 0xd.89bc642039dc406p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x1p-5000L : 0xd.89bc642039dc406p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x1p-5000L : 0xd.89bc642039dc406p+8L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x1p-5000L : 0xd.89bc642039dc407p+8L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x1p-5000L : 0xd.89bc642039dc406p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x1p-5000L : 0xd.89bc642039dc406p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x1p-5000L : 0xd.89bc642039dc406p+8L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x1p-5000L : 0xd.89bc642039dc407p+8L 1 : inexact-ok
+= lgamma downward ldbl-128 0x1p-5000L : 0xd.89bc642039dc40633f274bb10d2p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x1p-5000L : 0xd.89bc642039dc40633f274bb10d2p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x1p-5000L : 0xd.89bc642039dc40633f274bb10d2p+8L 1 : inexact-ok
+= lgamma upward ldbl-128 0x1p-5000L : 0xd.89bc642039dc40633f274bb10d28p+8L 1 : inexact-ok
+lgamma -0x1p-5000
+= lgamma downward flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma upward flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma downward dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma upward dbl-64 -0x8p-152 : 0x6.74767f33d1dc4p+4 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L -1 : inexact-ok
+= lgamma downward dbl-64 -0x4p-1076 : 0x2.e870a88dae386p+8 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x4p-1076 : 0x2.e870a88dae386p+8 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x4p-1076 : 0x2.e870a88dae386p+8 -1 : inexact-ok
+= lgamma upward dbl-64 -0x4p-1076 : 0x2.e870a88dae388p+8 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x1p-5000L : 0xd.89bc642039dc406p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x1p-5000L : 0xd.89bc642039dc406p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x1p-5000L : 0xd.89bc642039dc406p+8L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x1p-5000L : 0xd.89bc642039dc407p+8L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x1p-5000L : 0xd.89bc642039dc406p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x1p-5000L : 0xd.89bc642039dc406p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x1p-5000L : 0xd.89bc642039dc406p+8L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x1p-5000L : 0xd.89bc642039dc407p+8L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x1p-5000L : 0xd.89bc642039dc40633f274bb10d2p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x1p-5000L : 0xd.89bc642039dc40633f274bb10d2p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x1p-5000L : 0xd.89bc642039dc40633f274bb10d2p+8L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x1p-5000L : 0xd.89bc642039dc40633f274bb10d28p+8L -1 : inexact-ok
+lgamma 0x1p-10000
+= lgamma downward flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma upward flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma downward dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma upward dbl-64 0x8p-152 : 0x6.74767f33d1dc4p+4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L 1 : inexact-ok
+= lgamma downward dbl-64 0x4p-1076 : 0x2.e870a88dae386p+8 1 : inexact-ok
+= lgamma tonearest dbl-64 0x4p-1076 : 0x2.e870a88dae386p+8 1 : inexact-ok
+= lgamma towardzero dbl-64 0x4p-1076 : 0x2.e870a88dae386p+8 1 : inexact-ok
+= lgamma upward dbl-64 0x4p-1076 : 0x2.e870a88dae388p+8 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma downward ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L 1 : inexact-ok
+= lgamma upward ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x1p-10000L : 0x1.b1378c84073b880cp+12L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x1p-10000L : 0x1.b1378c84073b880cp+12L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x1p-10000L : 0x1.b1378c84073b880cp+12L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x1p-10000L : 0x1.b1378c84073b880ep+12L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x1p-10000L : 0x1.b1378c84073b880cp+12L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x1p-10000L : 0x1.b1378c84073b880cp+12L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x1p-10000L : 0x1.b1378c84073b880cp+12L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x1p-10000L : 0x1.b1378c84073b880ep+12L 1 : inexact-ok
+= lgamma downward ldbl-128 0x1p-10000L : 0x1.b1378c84073b880c67e4e97621a4p+12L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x1p-10000L : 0x1.b1378c84073b880c67e4e97621a4p+12L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x1p-10000L : 0x1.b1378c84073b880c67e4e97621a4p+12L 1 : inexact-ok
+= lgamma upward ldbl-128 0x1p-10000L : 0x1.b1378c84073b880c67e4e97621a5p+12L 1 : inexact-ok
+lgamma -0x1p-10000
+= lgamma downward flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma upward flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma downward dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma upward dbl-64 -0x8p-152 : 0x6.74767f33d1dc4p+4 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L -1 : inexact-ok
+= lgamma downward dbl-64 -0x4p-1076 : 0x2.e870a88dae386p+8 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x4p-1076 : 0x2.e870a88dae386p+8 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x4p-1076 : 0x2.e870a88dae386p+8 -1 : inexact-ok
+= lgamma upward dbl-64 -0x4p-1076 : 0x2.e870a88dae388p+8 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x1p-10000L : 0x1.b1378c84073b880cp+12L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x1p-10000L : 0x1.b1378c84073b880cp+12L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x1p-10000L : 0x1.b1378c84073b880cp+12L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x1p-10000L : 0x1.b1378c84073b880ep+12L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x1p-10000L : 0x1.b1378c84073b880cp+12L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x1p-10000L : 0x1.b1378c84073b880cp+12L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x1p-10000L : 0x1.b1378c84073b880cp+12L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x1p-10000L : 0x1.b1378c84073b880ep+12L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x1p-10000L : 0x1.b1378c84073b880c67e4e97621a4p+12L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x1p-10000L : 0x1.b1378c84073b880c67e4e97621a4p+12L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x1p-10000L : 0x1.b1378c84073b880c67e4e97621a4p+12L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x1p-10000L : 0x1.b1378c84073b880c67e4e97621a5p+12L -1 : inexact-ok
+lgamma 0x1p-16382
+= lgamma downward flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma upward flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma downward dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma upward dbl-64 0x8p-152 : 0x6.74767f33d1dc4p+4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L 1 : inexact-ok
+= lgamma downward dbl-64 0x4p-1076 : 0x2.e870a88dae386p+8 1 : inexact-ok
+= lgamma tonearest dbl-64 0x4p-1076 : 0x2.e870a88dae386p+8 1 : inexact-ok
+= lgamma towardzero dbl-64 0x4p-1076 : 0x2.e870a88dae386p+8 1 : inexact-ok
+= lgamma upward dbl-64 0x4p-1076 : 0x2.e870a88dae388p+8 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma downward ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L 1 : inexact-ok
+= lgamma upward ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x4p-16384L : 0x2.c5b2319c4843acbcp+12L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x4p-16384L : 0x2.c5b2319c4843accp+12L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x4p-16384L : 0x2.c5b2319c4843acbcp+12L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x4p-16384L : 0x2.c5b2319c4843accp+12L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x4p-16384L : 0x2.c5b2319c4843acbcp+12L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x4p-16384L : 0x2.c5b2319c4843accp+12L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x4p-16384L : 0x2.c5b2319c4843acbcp+12L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x4p-16384L : 0x2.c5b2319c4843accp+12L 1 : inexact-ok
+= lgamma downward ldbl-128 0x4p-16384L : 0x2.c5b2319c4843acbff21591e99ccap+12L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x4p-16384L : 0x2.c5b2319c4843acbff21591e99cccp+12L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x4p-16384L : 0x2.c5b2319c4843acbff21591e99ccap+12L 1 : inexact-ok
+= lgamma upward ldbl-128 0x4p-16384L : 0x2.c5b2319c4843acbff21591e99cccp+12L 1 : inexact-ok
+lgamma -0x1p-16382
+= lgamma downward flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma upward flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma downward dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma upward dbl-64 -0x8p-152 : 0x6.74767f33d1dc4p+4 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L -1 : inexact-ok
+= lgamma downward dbl-64 -0x4p-1076 : 0x2.e870a88dae386p+8 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x4p-1076 : 0x2.e870a88dae386p+8 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x4p-1076 : 0x2.e870a88dae386p+8 -1 : inexact-ok
+= lgamma upward dbl-64 -0x4p-1076 : 0x2.e870a88dae388p+8 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x4p-16384L : 0x2.c5b2319c4843acbcp+12L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x4p-16384L : 0x2.c5b2319c4843accp+12L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x4p-16384L : 0x2.c5b2319c4843acbcp+12L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x4p-16384L : 0x2.c5b2319c4843accp+12L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x4p-16384L : 0x2.c5b2319c4843acbcp+12L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x4p-16384L : 0x2.c5b2319c4843accp+12L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x4p-16384L : 0x2.c5b2319c4843acbcp+12L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x4p-16384L : 0x2.c5b2319c4843accp+12L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x4p-16384L : 0x2.c5b2319c4843acbff21591e99ccap+12L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x4p-16384L : 0x2.c5b2319c4843acbff21591e99cccp+12L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x4p-16384L : 0x2.c5b2319c4843acbff21591e99ccap+12L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x4p-16384L : 0x2.c5b2319c4843acbff21591e99cccp+12L -1 : inexact-ok
+lgamma 0x1p-16445
+= lgamma downward flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma upward flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma downward dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma upward dbl-64 0x8p-152 : 0x6.74767f33d1dc4p+4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L 1 : inexact-ok
+= lgamma downward dbl-64 0x4p-1076 : 0x2.e870a88dae386p+8 1 : inexact-ok
+= lgamma tonearest dbl-64 0x4p-1076 : 0x2.e870a88dae386p+8 1 : inexact-ok
+= lgamma towardzero dbl-64 0x4p-1076 : 0x2.e870a88dae386p+8 1 : inexact-ok
+= lgamma upward dbl-64 0x4p-1076 : 0x2.e870a88dae388p+8 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma downward ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L 1 : inexact-ok
+= lgamma upward ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x8p-16448L : 0x2.c86ce2daa80dcdacp+12L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x8p-16448L : 0x2.c86ce2daa80dcdbp+12L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x8p-16448L : 0x2.c86ce2daa80dcdacp+12L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x8p-16448L : 0x2.c86ce2daa80dcdbp+12L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x8p-16448L : 0x2.c86ce2daa80dcdacp+12L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x8p-16448L : 0x2.c86ce2daa80dcdbp+12L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x8p-16448L : 0x2.c86ce2daa80dcdacp+12L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x8p-16448L : 0x2.c86ce2daa80dcdbp+12L 1 : inexact-ok
+= lgamma downward ldbl-128 0x8p-16448L : 0x2.c86ce2daa80dcdaf0680827cc35ap+12L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x8p-16448L : 0x2.c86ce2daa80dcdaf0680827cc35ap+12L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x8p-16448L : 0x2.c86ce2daa80dcdaf0680827cc35ap+12L 1 : inexact-ok
+= lgamma upward ldbl-128 0x8p-16448L : 0x2.c86ce2daa80dcdaf0680827cc35cp+12L 1 : inexact-ok
+lgamma -0x1p-16445
+= lgamma downward flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma upward flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma downward dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma upward dbl-64 -0x8p-152 : 0x6.74767f33d1dc4p+4 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L -1 : inexact-ok
+= lgamma downward dbl-64 -0x4p-1076 : 0x2.e870a88dae386p+8 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x4p-1076 : 0x2.e870a88dae386p+8 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x4p-1076 : 0x2.e870a88dae386p+8 -1 : inexact-ok
+= lgamma upward dbl-64 -0x4p-1076 : 0x2.e870a88dae388p+8 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x8p-16448L : 0x2.c86ce2daa80dcdacp+12L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x8p-16448L : 0x2.c86ce2daa80dcdbp+12L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x8p-16448L : 0x2.c86ce2daa80dcdacp+12L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x8p-16448L : 0x2.c86ce2daa80dcdbp+12L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x8p-16448L : 0x2.c86ce2daa80dcdacp+12L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x8p-16448L : 0x2.c86ce2daa80dcdbp+12L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x8p-16448L : 0x2.c86ce2daa80dcdacp+12L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x8p-16448L : 0x2.c86ce2daa80dcdbp+12L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x8p-16448L : 0x2.c86ce2daa80dcdaf0680827cc35ap+12L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x8p-16448L : 0x2.c86ce2daa80dcdaf0680827cc35ap+12L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x8p-16448L : 0x2.c86ce2daa80dcdaf0680827cc35ap+12L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x8p-16448L : 0x2.c86ce2daa80dcdaf0680827cc35cp+12L -1 : inexact-ok
+lgamma 0x1p-16494
+= lgamma downward flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma tonearest flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma towardzero flt-32 0x8p-152f : 0x6.747678p+4f 1 : inexact-ok
+= lgamma upward flt-32 0x8p-152f : 0x6.74768p+4f 1 : inexact-ok
+= lgamma downward dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma tonearest dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma towardzero dbl-64 0x8p-152 : 0x6.74767f33d1dcp+4 1 : inexact-ok
+= lgamma upward dbl-64 0x8p-152 : 0x6.74767f33d1dc4p+4 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d08p+4L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x8p-152L : 0x6.74767f33d1dc1d1p+4L 1 : inexact-ok
+= lgamma downward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L 1 : inexact-ok
+= lgamma downward dbl-64 0x4p-1076 : 0x2.e870a88dae386p+8 1 : inexact-ok
+= lgamma tonearest dbl-64 0x4p-1076 : 0x2.e870a88dae386p+8 1 : inexact-ok
+= lgamma towardzero dbl-64 0x4p-1076 : 0x2.e870a88dae386p+8 1 : inexact-ok
+= lgamma upward dbl-64 0x4p-1076 : 0x2.e870a88dae388p+8 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c7p+8L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x4p-1076L : 0x2.e870a88dae386c74p+8L 1 : inexact-ok
+= lgamma downward ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L 1 : inexact-ok
+= lgamma upward ldbl-128 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L 1 : inexact-ok
+= lgamma downward ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L 1 : inexact-ok
+= lgamma tonearest ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L 1 : inexact-ok
+= lgamma towardzero ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L 1 : inexact-ok
+= lgamma upward ldbl-128ibm 0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L 1 : inexact-ok
+= lgamma downward ldbl-96-intel 0x8p-16448L : 0x2.c86ce2daa80dcdacp+12L 1 : inexact-ok
+= lgamma tonearest ldbl-96-intel 0x8p-16448L : 0x2.c86ce2daa80dcdbp+12L 1 : inexact-ok
+= lgamma towardzero ldbl-96-intel 0x8p-16448L : 0x2.c86ce2daa80dcdacp+12L 1 : inexact-ok
+= lgamma upward ldbl-96-intel 0x8p-16448L : 0x2.c86ce2daa80dcdbp+12L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x8p-16448L : 0x2.c86ce2daa80dcdacp+12L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x8p-16448L : 0x2.c86ce2daa80dcdbp+12L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x8p-16448L : 0x2.c86ce2daa80dcdacp+12L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x8p-16448L : 0x2.c86ce2daa80dcdbp+12L 1 : inexact-ok
+= lgamma downward ldbl-128 0x8p-16448L : 0x2.c86ce2daa80dcdaf0680827cc35ap+12L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x8p-16448L : 0x2.c86ce2daa80dcdaf0680827cc35ap+12L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x8p-16448L : 0x2.c86ce2daa80dcdaf0680827cc35ap+12L 1 : inexact-ok
+= lgamma upward ldbl-128 0x8p-16448L : 0x2.c86ce2daa80dcdaf0680827cc35cp+12L 1 : inexact-ok
+= lgamma downward ldbl-96-m68k 0x4p-16448L : 0x2.c877f9fc278aeaa4p+12L 1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k 0x4p-16448L : 0x2.c877f9fc278aeaa8p+12L 1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k 0x4p-16448L : 0x2.c877f9fc278aeaa4p+12L 1 : inexact-ok
+= lgamma upward ldbl-96-m68k 0x4p-16448L : 0x2.c877f9fc278aeaa8p+12L 1 : inexact-ok
+= lgamma downward ldbl-128 0x4p-16448L : 0x2.c877f9fc278aeaa6a13d20b7fcdap+12L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x4p-16448L : 0x2.c877f9fc278aeaa6a13d20b7fcdcp+12L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x4p-16448L : 0x2.c877f9fc278aeaa6a13d20b7fcdap+12L 1 : inexact-ok
+= lgamma upward ldbl-128 0x4p-16448L : 0x2.c877f9fc278aeaa6a13d20b7fcdcp+12L 1 : inexact-ok
+= lgamma downward ldbl-128 0x4p-16496L : 0x2.ca8c50440f005913a49acbd2c4e6p+12L 1 : inexact-ok
+= lgamma tonearest ldbl-128 0x4p-16496L : 0x2.ca8c50440f005913a49acbd2c4e8p+12L 1 : inexact-ok
+= lgamma towardzero ldbl-128 0x4p-16496L : 0x2.ca8c50440f005913a49acbd2c4e6p+12L 1 : inexact-ok
+= lgamma upward ldbl-128 0x4p-16496L : 0x2.ca8c50440f005913a49acbd2c4e8p+12L 1 : inexact-ok
+lgamma -0x1p-16494
+= lgamma downward flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma tonearest flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma towardzero flt-32 -0x8p-152f : 0x6.747678p+4f -1 : inexact-ok
+= lgamma upward flt-32 -0x8p-152f : 0x6.74768p+4f -1 : inexact-ok
+= lgamma downward dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x8p-152 : 0x6.74767f33d1dcp+4 -1 : inexact-ok
+= lgamma upward dbl-64 -0x8p-152 : 0x6.74767f33d1dc4p+4 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d08p+4L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x8p-152L : 0x6.74767f33d1dc1d1p+4L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4c8p+4L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a4p+4L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x8p-152L : 0x6.74767f33d1dc1d0fc8187877a6p+4L -1 : inexact-ok
+= lgamma downward dbl-64 -0x4p-1076 : 0x2.e870a88dae386p+8 -1 : inexact-ok
+= lgamma tonearest dbl-64 -0x4p-1076 : 0x2.e870a88dae386p+8 -1 : inexact-ok
+= lgamma towardzero dbl-64 -0x4p-1076 : 0x2.e870a88dae386p+8 -1 : inexact-ok
+= lgamma upward dbl-64 -0x4p-1076 : 0x2.e870a88dae388p+8 -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c7p+8L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x4p-1076L : 0x2.e870a88dae386c74p+8L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c09p+8L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c092p+8L -1 : inexact-ok
+= lgamma downward ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L -1 : inexact-ok
+= lgamma tonearest ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L -1 : inexact-ok
+= lgamma towardzero ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773cp+8L -1 : inexact-ok
+= lgamma upward ldbl-128ibm -0x4p-1076L : 0x2.e870a88dae386c72b4fd4773c1p+8L -1 : inexact-ok
+= lgamma downward ldbl-96-intel -0x8p-16448L : 0x2.c86ce2daa80dcdacp+12L -1 : inexact-ok
+= lgamma tonearest ldbl-96-intel -0x8p-16448L : 0x2.c86ce2daa80dcdbp+12L -1 : inexact-ok
+= lgamma towardzero ldbl-96-intel -0x8p-16448L : 0x2.c86ce2daa80dcdacp+12L -1 : inexact-ok
+= lgamma upward ldbl-96-intel -0x8p-16448L : 0x2.c86ce2daa80dcdbp+12L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x8p-16448L : 0x2.c86ce2daa80dcdacp+12L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x8p-16448L : 0x2.c86ce2daa80dcdbp+12L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x8p-16448L : 0x2.c86ce2daa80dcdacp+12L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x8p-16448L : 0x2.c86ce2daa80dcdbp+12L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x8p-16448L : 0x2.c86ce2daa80dcdaf0680827cc35ap+12L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x8p-16448L : 0x2.c86ce2daa80dcdaf0680827cc35ap+12L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x8p-16448L : 0x2.c86ce2daa80dcdaf0680827cc35ap+12L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x8p-16448L : 0x2.c86ce2daa80dcdaf0680827cc35cp+12L -1 : inexact-ok
+= lgamma downward ldbl-96-m68k -0x4p-16448L : 0x2.c877f9fc278aeaa4p+12L -1 : inexact-ok
+= lgamma tonearest ldbl-96-m68k -0x4p-16448L : 0x2.c877f9fc278aeaa8p+12L -1 : inexact-ok
+= lgamma towardzero ldbl-96-m68k -0x4p-16448L : 0x2.c877f9fc278aeaa4p+12L -1 : inexact-ok
+= lgamma upward ldbl-96-m68k -0x4p-16448L : 0x2.c877f9fc278aeaa8p+12L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x4p-16448L : 0x2.c877f9fc278aeaa6a13d20b7fcdap+12L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x4p-16448L : 0x2.c877f9fc278aeaa6a13d20b7fcdcp+12L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x4p-16448L : 0x2.c877f9fc278aeaa6a13d20b7fcdap+12L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x4p-16448L : 0x2.c877f9fc278aeaa6a13d20b7fcdcp+12L -1 : inexact-ok
+= lgamma downward ldbl-128 -0x4p-16496L : 0x2.ca8c50440f005913a49acbd2c4e6p+12L -1 : inexact-ok
+= lgamma tonearest ldbl-128 -0x4p-16496L : 0x2.ca8c50440f005913a49acbd2c4e8p+12L -1 : inexact-ok
+= lgamma towardzero ldbl-128 -0x4p-16496L : 0x2.ca8c50440f005913a49acbd2c4e6p+12L -1 : inexact-ok
+= lgamma upward ldbl-128 -0x4p-16496L : 0x2.ca8c50440f005913a49acbd2c4e8p+12L -1 : inexact-ok
 log 1
 = log downward flt-32 0x1p+0f : 0x0p+0f : inexact-ok
 = log tonearest flt-32 0x1p+0f : 0x0p+0f : inexact-ok
diff --git a/math/gen-auto-libm-tests.c b/math/gen-auto-libm-tests.c
index 5c631e099b..87585b9313 100644
--- a/math/gen-auto-libm-tests.c
+++ b/math/gen-auto-libm-tests.c
@@ -392,6 +392,9 @@ typedef enum
   {
     /* MPFR function with a single argument and result.  */
     mpfr_f_f,
+    /* MPFR function with a single argument and floating-point and
+       integer results.  */
+    mpfr_f_f1,
   } func_calc_method;
 
 /* Description of how to calculate a function.  */
@@ -403,6 +406,7 @@ typedef struct
   union
   {
     int (*mpfr_f_f) (mpfr_t, const mpfr_t, mpfr_rnd_t);
+    int (*mpfr_f_f1) (mpfr_t, int *, const mpfr_t, mpfr_rnd_t);
   } func;
 } func_calc_desc;
 
@@ -435,12 +439,22 @@ typedef struct
   input_test *tests;
 } test_function;
 
-#define FUNC_mpfr_f_f(NAME, MPFR_FUNC, EXACT)		\
-  {							\
-    NAME, 1, { type_fp }, 1, { type_fp }, EXACT, false,	\
-    { mpfr_f_f, { .mpfr_f_f = MPFR_FUNC } }, 0, 0, NULL \
+#define ARGS1(T1) 1, { T1 }
+#define ARGS2(T1, T2) 2, { T1, T2 }
+#define ARGS3(T1, T2, T3) 3, { T1, T2, T3 }
+#define ARGS4(T1, T2, T3, T4) 4, { T1, T2, T3, T4 }
+#define RET1(T1) 1, { T1 }
+#define RET2(T1, T2) 2, { T1, T2 }
+#define CALC(TYPE, FN) { TYPE, { .TYPE = FN } }
+#define FUNC(NAME, ARGS, RET, EXACT, COMPLEX_FN, CALC)		\
+  {								\
+    NAME, ARGS, RET, EXACT, COMPLEX_FN, CALC, 0, 0, NULL	\
   }
 
+#define FUNC_mpfr_f_f(NAME, MPFR_FUNC, EXACT)			\
+  FUNC (NAME, ARGS1 (type_fp), RET1 (type_fp), EXACT, false,	\
+	CALC (mpfr_f_f, MPFR_FUNC))
+
 /* List of functions handled by this program.  */
 static test_function test_functions[] =
   {
@@ -461,6 +475,8 @@ static test_function test_functions[] =
     FUNC_mpfr_f_f ("expm1", mpfr_expm1, false),
     FUNC_mpfr_f_f ("j0", mpfr_j0, false),
     FUNC_mpfr_f_f ("j1", mpfr_j1, false),
+    FUNC ("lgamma", ARGS1 (type_fp), RET2 (type_fp, type_int), false, false,
+	  CALC (mpfr_f_f1, mpfr_lgamma)),
     FUNC_mpfr_f_f ("log", mpfr_log, false),
     FUNC_mpfr_f_f ("log10", mpfr_log10, false),
     FUNC_mpfr_f_f ("log1p", mpfr_log1p, false),
@@ -1250,6 +1266,18 @@ calc_generic_results (generic_value *outputs, generic_value *inputs,
       adjust_real (outputs[0].value.f, inexact);
       break;
 
+    case mpfr_f_f1:
+      assert (inputs[0].type == gtype_fp);
+      outputs[0].type = gtype_fp;
+      outputs[1].type = gtype_int;
+      mpfr_init (outputs[0].value.f);
+      int i = 0;
+      inexact = calc->func.mpfr_f_f1 (outputs[0].value.f, &i,
+				      inputs[0].value.f, MPFR_RNDZ);
+      adjust_real (outputs[0].value.f, inexact);
+      mpz_init_set_si (outputs[1].value.i, i);
+      break;
+
     default:
       abort ();
     }
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 1d12d9177c..cb87e3c971 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -281,8 +281,6 @@ struct ulp_data
 
 /* Various constants (we must supply them precalculated for accuracy).  */
 #define M_PI_6l			.52359877559829887307710723054658383L
-#define M_LOG_SQRT_PIl		0.57236494292470008707171367567652933L	/* log(sqrt(M_PIl))  */
-#define M_LOG_2_SQRT_PIl	1.265512123484645396488945797134706L	/* log(2*sqrt(M_PIl))  */
 #define M_PI_34l		2.356194490192344928846982537459627163L	/* 3*pi/4 */
 #define M_PI_34_LOG10El		1.023282265381381010614337719073516828L
 #define M_PI2_LOG10El		0.682188176920920673742891812715677885L
@@ -9702,71 +9700,8 @@ static const struct test_f_f1_data lgamma_test_data[] =
     TEST_f_f1 (lgamma, -3, plus_infty, IGNORE, DIVIDE_BY_ZERO_EXCEPTION|ERRNO_ERANGE),
     TEST_f_f1 (lgamma, minus_infty, plus_infty, IGNORE),
     TEST_f_f1 (lgamma, -max_value, plus_infty, IGNORE, DIVIDE_BY_ZERO_EXCEPTION|ERRNO_ERANGE),
-    TEST_f_f1 (lgamma, max_value, plus_infty, 1, OVERFLOW_EXCEPTION|ERRNO_ERANGE),
-
-    TEST_f_f1 (lgamma, 1, 0, 1),
-
-    TEST_f_f1 (lgamma, 3, M_LN2l, 1),
-
-    TEST_f_f1 (lgamma, 0.5, M_LOG_SQRT_PIl, 1),
-    TEST_f_f1 (lgamma, -0.5, M_LOG_2_SQRT_PIl, -1),
-    TEST_f_f1 (lgamma, 0.7L, 0.260867246531666514385732417016759578L, 1),
-    TEST_f_f1 (lgamma, 1.2L, -0.853740900033158497197028392998854470e-1L, 1),
-
-    TEST_f_f1 (lgamma, 0x1p-5L, 3.4484891277979584796832693452686366085801e+00L, 1),
-    TEST_f_f1 (lgamma, -0x1p-5L, 3.4845895751341394376217526729956836492792e+00L, -1),
-    TEST_f_f1 (lgamma, 0x1p-10L, 6.9309089024194618895406190646600805357273e+00L, 1),
-    TEST_f_f1 (lgamma, -0x1p-10L, 6.9320362775113082175565786721095494761582e+00L, -1),
-    TEST_f_f1 (lgamma, 0x1p-15L, 1.0397190093941001762077888432721419773538e+01L, 1),
-    TEST_f_f1 (lgamma, -0x1p-15L, 1.0397225324389321751118257981741350715545e+01L, -1),
-    TEST_f_f1 (lgamma, 0x1p-20L, 1.3862943060723899573457963336920089012399e+01L, 1),
-    TEST_f_f1 (lgamma, -0x1p-20L, 1.3862944161675408862049886226750366625112e+01L, -1),
-    TEST_f_f1 (lgamma, 0x1p-25L, 1.7328679496796266133304874243201700664713e+01L, 1),
-    TEST_f_f1 (lgamma, -0x1p-25L, 1.7328679531201000798551671833865469674673e+01L, -1),
-    TEST_f_f1 (lgamma, 0x1p-30L, 2.0794415416260785304085859198055798098863e+01L, 1),
-    TEST_f_f1 (lgamma, -0x1p-30L, 2.0794415417335933262374820960532606449975e+01L, -1),
-    TEST_f_f1 (lgamma, 0x1p-40L, 2.7725887222397287402100277256545578941303e+01L, 1),
-    TEST_f_f1 (lgamma, -0x1p-40L, 2.7725887222398337351278293820766115529596e+01L, -1),
-    TEST_f_f1 (lgamma, 0x1p-50L, 3.4657359027997264958191108994508978906983e+01L, 1),
-    TEST_f_f1 (lgamma, -0x1p-50L, 3.4657359027997265983532103151309975524744e+01L, -1),
-    TEST_f_f1 (lgamma, 0x1p-60L, 4.1588830833596718564533272505187468598519e+01L, 1),
-    TEST_f_f1 (lgamma, -0x1p-60L, 4.1588830833596718565534582069793719571779e+01L, -1),
-    TEST_f_f1 (lgamma, 0x1p-64L, 4.4361419555836499802671564849429355013920e+01L, 1),
-    TEST_f_f1 (lgamma, -0x1p-64L, 4.4361419555836499802734146697217245699749e+01L, -1),
-    TEST_f_f1 (lgamma, 0x1p-70L, 4.8520302639196171659205759581386516869302e+01L, 1),
-    TEST_f_f1 (lgamma, -0x1p-70L, 4.8520302639196171659206737422758202661268e+01L, -1),
-    TEST_f_f1 (lgamma, 0x1p-100L, 6.9314718055994530941723212145817201464678e+01L, 1),
-    TEST_f_f1 (lgamma, -0x1p-100L, 6.9314718055994530941723212145818112150422e+01L, -1),
-    TEST_f_f1 (lgamma, 0x1p-126L, 8.7336544750553108986571247303730247577506e+01L, 1),
-    TEST_f_f1 (lgamma, -0x1p-126L, 8.7336544750553108986571247303730247577520e+01L, -1),
-    TEST_f_f1 (lgamma, 0x1p-149L, 1.0327892990343185110316758609726830864325e+02L, 1),
-    TEST_f_f1 (lgamma, -0x1p-149L, 1.0327892990343185110316758609726830864325e+02L, -1),
-#ifndef TEST_FLOAT
-    TEST_f_f1 (lgamma, 0x1p-200L, 1.3862943611198906188344642429163531361510e+02L, 1),
-    TEST_f_f1 (lgamma, -0x1p-200L, 1.3862943611198906188344642429163531361510e+02L, -1),
-    TEST_f_f1 (lgamma, 0x1p-500L, 3.4657359027997265470861606072908828403775e+02L, 1),
-    TEST_f_f1 (lgamma, -0x1p-500L, 3.4657359027997265470861606072908828403775e+02L, -1),
-    TEST_f_f1 (lgamma, 0x1p-1000L, 6.9314718055994530941723212145817656807550e+02L, 1),
-    TEST_f_f1 (lgamma, -0x1p-1000L, 6.9314718055994530941723212145817656807550e+02L, -1),
-    TEST_f_f1 (lgamma, 0x1p-1022L, 7.0839641853226410622441122813025645257316e+02L, 1),
-    TEST_f_f1 (lgamma, -0x1p-1022L, 7.0839641853226410622441122813025645257316e+02L, -1),
-    TEST_f_f1 (lgamma, 0x1p-1074L, 7.4444007192138126231410729844608163411309e+02L, 1),
-    TEST_f_f1 (lgamma, -0x1p-1074L, 7.4444007192138126231410729844608163411309e+02L, -1),
-#endif
-#if defined TEST_LDOUBLE && LDBL_MIN_EXP <= -16381
-    TEST_f_f1 (lgamma, 0x1p-5000L, 3.4657359027997265470861606072908828403775e+03L, 1),
-    TEST_f_f1 (lgamma, -0x1p-5000L, 3.4657359027997265470861606072908828403775e+03L, -1),
-    TEST_f_f1 (lgamma, 0x1p-10000L, 6.9314718055994530941723212145817656807550e+03L, 1),
-    TEST_f_f1 (lgamma, -0x1p-10000L, 6.9314718055994530941723212145817656807550e+03L, -1),
-    TEST_f_f1 (lgamma, 0x1p-16382L, 1.1355137111933024058873096613727848538213e+04L, 1),
-    TEST_f_f1 (lgamma, -0x1p-16382L, 1.1355137111933024058873096613727848538213e+04L, -1),
-    TEST_f_f1 (lgamma, 0x1p-16445L, 1.1398805384308300613366382237379713662002e+04L, 1),
-    TEST_f_f1 (lgamma, -0x1p-16445L, 1.1398805384308300613366382237379713662002e+04L, -1),
-# if LDBL_MANT_DIG >= 113
-    TEST_f_f1 (lgamma, 0x1p-16494L, 1.1432769596155737933527826611331164313837e+04L, 1),
-    TEST_f_f1 (lgamma, -0x1p-16494L, 1.1432769596155737933527826611331164313837e+04L, -1),
-# endif
-#endif
+
+    AUTO_TESTS_f_f1 (lgamma, tonearest),
   };
 
 static void