[PATCHv2,5/5] ldbl-128: Fix minor readability issues after applying L(x) macro.
diff mbox

Message ID 625faed5670dd11641595b5d63e0c5c9b21203b8.1471548450.git.murphyp@linux.vnet.ibm.com
State New
Headers show

Commit Message

Paul E. Murphy Aug. 18, 2016, 7:42 p.m. UTC
The scripted changes did not provision for spacing issues
introduced by the scripted changes.

This cleans up spacing in tables, and applies -L(x) to L(-x)
transformations when it helps to improve readibility.

Likewise, the integer folding is reverted in e_powl.c as it
looks a little better with the two constant tables.

	 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Cleanup after
	 application of the scripted changed.

	 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
	 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
	 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
	 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
	 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
	 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
	 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
	 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
	 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
	 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
	 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
	 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
	 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
	 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
---
 sysdeps/ieee754/ldbl-128/e_acoshl.c    |   2 +-
 sysdeps/ieee754/ldbl-128/e_acosl.c     |   2 +-
 sysdeps/ieee754/ldbl-128/e_asinl.c     |   4 +-
 sysdeps/ieee754/ldbl-128/e_expl.c      |   4 +-
 sysdeps/ieee754/ldbl-128/e_gammal_r.c  |  28 +--
 sysdeps/ieee754/ldbl-128/e_lgammal_r.c |  12 +-
 sysdeps/ieee754/ldbl-128/e_logl.c      |   2 +-
 sysdeps/ieee754/ldbl-128/e_powl.c      |   6 +-
 sysdeps/ieee754/ldbl-128/lgamma_negl.c | 338 ++++++++++++++++-----------------
 sysdeps/ieee754/ldbl-128/s_atanl.c     |  10 +-
 sysdeps/ieee754/ldbl-128/s_erfl.c      |   2 +-
 sysdeps/ieee754/ldbl-128/s_expm1l.c    |  16 +-
 sysdeps/ieee754/ldbl-128/s_fmal.c      |   2 +-
 sysdeps/ieee754/ldbl-128/s_scalblnl.c  |   6 +-
 sysdeps/ieee754/ldbl-128/s_scalbnl.c   |   6 +-
 15 files changed, 220 insertions(+), 220 deletions(-)

Comments

Joseph Myers Aug. 18, 2016, 11:56 p.m. UTC | #1
On Thu, 18 Aug 2016, Paul E. Murphy wrote:

> The scripted changes did not provision for spacing issues
> introduced by the scripted changes.
> 
> This cleans up spacing in tables, and applies -L(x) to L(-x)
> transformations when it helps to improve readibility.

I wonder if L(-x) should just be used consistently everywhere (so as part 
of the conversion to use L() in the first place).  While formally -L(x) is 
correct, unary minus not being part of the constant, L(-x) probably 
accords better with how people actually read negated constants.  
gen-libm-test.pl applies LIT to negated constants like that, which seems 
consistent with using L(-x) as well.

(I agree that there are cases where one subjectively might wish to use L() 
for consistency instead of using an integer constant.)
Joseph Myers Aug. 19, 2016, 5:31 p.m. UTC | #2
On Fri, 19 Aug 2016, Paul E. Murphy wrote:

> I am indifferent.  Here is what the patches look like running
> -L(x) -> L(-x) transformation after integral simplification.

I think we should go with the L(-x) approach (to be clear, this is not a 
review of the patch; I don't expect to review these substitutions and 
fixups in detail until all the prior patches they depend on are in).

Patch
diff mbox

diff --git a/sysdeps/ieee754/ldbl-128/e_acoshl.c b/sysdeps/ieee754/ldbl-128/e_acoshl.c
index 7c79d43..26e725b 100644
--- a/sysdeps/ieee754/ldbl-128/e_acoshl.c
+++ b/sysdeps/ieee754/ldbl-128/e_acoshl.c
@@ -49,7 +49,7 @@  __ieee754_acoshl(_Float128 x)
 	    } else
 		return __ieee754_logl(x)+ln2;	/* acoshl(huge)=logl(2x) */
 	} else if(((hx-0x3fff000000000000LL)|lx)==0) {
-	    return 0;			/* acosh(1) = 0 */
+	    return 0;				/* acosh(1) = 0 */
 	} else if (hx > 0x4000000000000000LL) {	/* 2**28 > x > 2 */
 	    t=x*x;
 	    return __ieee754_logl(2*x-one/(x+__ieee754_sqrtl(t-one)));
diff --git a/sysdeps/ieee754/ldbl-128/e_acosl.c b/sysdeps/ieee754/ldbl-128/e_acosl.c
index ab911a2..deaec6b 100644
--- a/sysdeps/ieee754/ldbl-128/e_acosl.c
+++ b/sysdeps/ieee754/ldbl-128/e_acosl.c
@@ -58,7 +58,7 @@ 
 #include <math_private.h>
 
 static const _Float128
-  one = 1,
+  one     = 1,
   pio2_hi = L(1.5707963267948966192313216916397514420986),
   pio2_lo = L(4.3359050650618905123985220130216759843812E-35),
 
diff --git a/sysdeps/ieee754/ldbl-128/e_asinl.c b/sysdeps/ieee754/ldbl-128/e_asinl.c
index 0398c28..cef627a 100644
--- a/sysdeps/ieee754/ldbl-128/e_asinl.c
+++ b/sysdeps/ieee754/ldbl-128/e_asinl.c
@@ -64,8 +64,8 @@ 
 #include <math_private.h>
 
 static const _Float128
-  one = 1,
-  huge = L(1.0e+4932),
+  one     = 1,
+  huge    = L(1.0e+4932),
   pio2_hi = L(1.5707963267948966192313216916397514420986),
   pio2_lo = L(4.3359050650618905123985220130216759843812E-35),
   pio4_hi = L(7.8539816339744830961566084581987569936977E-1),
diff --git a/sysdeps/ieee754/ldbl-128/e_expl.c b/sysdeps/ieee754/ldbl-128/e_expl.c
index 67aaa6e..7924c8d 100644
--- a/sysdeps/ieee754/ldbl-128/e_expl.c
+++ b/sysdeps/ieee754/ldbl-128/e_expl.c
@@ -75,7 +75,7 @@  static const _Float128 C[] = {
 
 /* Largest integer x for which e^x underflows.  */
 #define lomark C[1]
--L(11433.4627433362978788372438434526231),
+L(-11433.4627433362978788372438434526231),
 
 /* 3x2^96 */
 #define THREEp96 C[2]
@@ -99,7 +99,7 @@  static const _Float128 C[] = {
 
 /* ln2_0 - ln(2) */
 #define M_LN2_1 C[7]
--L(1.94704509238074995158795957333327386E-31),
+L(-1.94704509238074995158795957333327386E-31),
 
 /* very small number */
 #define TINY C[8]
diff --git a/sysdeps/ieee754/ldbl-128/e_gammal_r.c b/sysdeps/ieee754/ldbl-128/e_gammal_r.c
index 177a735..269a247 100644
--- a/sysdeps/ieee754/ldbl-128/e_gammal_r.c
+++ b/sysdeps/ieee754/ldbl-128/e_gammal_r.c
@@ -27,20 +27,20 @@ 
 
 static const _Float128 gamma_coeff[] =
   {
-    L(0x1.5555555555555555555555555555p-4),
-    -L(0xb.60b60b60b60b60b60b60b60b60b8p-12),
-    L(0x3.4034034034034034034034034034p-12),
-    -L(0x2.7027027027027027027027027028p-12),
-    L(0x3.72a3c5631fe46ae1d4e700dca8f2p-12),
-    -L(0x7.daac36664f1f207daac36664f1f4p-12),
-    L(0x1.a41a41a41a41a41a41a41a41a41ap-8),
-    -L(0x7.90a1b2c3d4e5f708192a3b4c5d7p-8),
-    L(0x2.dfd2c703c0cfff430edfd2c703cp-4),
-    -L(0x1.6476701181f39edbdb9ce625987dp+0),
-    L(0xd.672219167002d3a7a9c886459cp+0),
-    -L(0x9.cd9292e6660d55b3f712eb9e07c8p+4),
-    L(0x8.911a740da740da740da740da741p+8),
-    -L(0x8.d0cc570e255bf59ff6eec24b49p+12),
+    L( 0x1.5555555555555555555555555555p-4),
+    L(-0xb.60b60b60b60b60b60b60b60b60b8p-12),
+    L( 0x3.4034034034034034034034034034p-12),
+    L(-0x2.7027027027027027027027027028p-12),
+    L( 0x3.72a3c5631fe46ae1d4e700dca8f2p-12),
+    L(-0x7.daac36664f1f207daac36664f1f4p-12),
+    L( 0x1.a41a41a41a41a41a41a41a41a41ap-8),
+    L(-0x7.90a1b2c3d4e5f708192a3b4c5d7p-8),
+    L( 0x2.dfd2c703c0cfff430edfd2c703cp-4),
+    L(-0x1.6476701181f39edbdb9ce625987dp+0),
+    L( 0xd.672219167002d3a7a9c886459cp+0),
+    L(-0x9.cd9292e6660d55b3f712eb9e07c8p+4),
+    L( 0x8.911a740da740da740da740da741p+8),
+    L(-0x8.d0cc570e255bf59ff6eec24b49p+12),
   };
 
 #define NCOEFF (sizeof (gamma_coeff) / sizeof (gamma_coeff[0]))
diff --git a/sysdeps/ieee754/ldbl-128/e_lgammal_r.c b/sysdeps/ieee754/ldbl-128/e_lgammal_r.c
index e097e50..8fa5ab8 100644
--- a/sysdeps/ieee754/ldbl-128/e_lgammal_r.c
+++ b/sysdeps/ieee754/ldbl-128/e_lgammal_r.c
@@ -699,12 +699,12 @@  static const _Float128 RNr9[NRNr9 + 1] =
   L(4.441379198241760069548832023257571176884E5),
   L(1.273072988367176540909122090089580368732E6),
   L(9.732422305818501557502584486510048387724E5),
-  -L(5.040539994443998275271644292272870348684E5),
-  -L(1.208719055525609446357448132109723786736E6),
-  -L(7.434275365370936547146540554419058907156E5),
-  -L(2.075642969983377738209203358199008185741E5),
-  -L(2.565534860781128618589288075109372218042E4),
-  -L(1.032901669542994124131223797515913955938E3),
+ -L(5.040539994443998275271644292272870348684E5),
+ -L(1.208719055525609446357448132109723786736E6),
+ -L(7.434275365370936547146540554419058907156E5),
+ -L(2.075642969983377738209203358199008185741E5),
+ -L(2.565534860781128618589288075109372218042E4),
+ -L(1.032901669542994124131223797515913955938E3),
 };
 #define NRDr9 8
 static const _Float128 RDr9[NRDr9 + 1] =
diff --git a/sysdeps/ieee754/ldbl-128/e_logl.c b/sysdeps/ieee754/ldbl-128/e_logl.c
index 280bb5c..fcacdbe 100644
--- a/sysdeps/ieee754/ldbl-128/e_logl.c
+++ b/sysdeps/ieee754/ldbl-128/e_logl.c
@@ -198,7 +198,7 @@  __ieee754_logl(_Float128 x)
   /* log(0) = -infinity. */
   if ((k | u.parts32.w1 | u.parts32.w2 | u.parts32.w3) == 0)
     {
-      return -L(0.5) / ZERO;
+      return L(-0.5) / ZERO;
     }
   /* log ( x < 0 ) = NaN */
   if (m & 0x80000000)
diff --git a/sysdeps/ieee754/ldbl-128/e_powl.c b/sysdeps/ieee754/ldbl-128/e_powl.c
index b7a3dfc..62aa7da 100644
--- a/sysdeps/ieee754/ldbl-128/e_powl.c
+++ b/sysdeps/ieee754/ldbl-128/e_powl.c
@@ -68,19 +68,19 @@ 
 #include <math_private.h>
 
 static const _Float128 bp[] = {
-  1,
+  L(1.0),
   L(1.5),
 };
 
 /* log_2(1.5) */
 static const _Float128 dp_h[] = {
-  0.0,
+  L(0.0),
   L(5.8496250072115607565592654282227158546448E-1)
 };
 
 /* Low part of log_2(1.5) */
 static const _Float128 dp_l[] = {
-  0.0,
+  L(0.0),
   L(1.0579781240112554492329533686862998106046E-16)
 };
 
diff --git a/sysdeps/ieee754/ldbl-128/lgamma_negl.c b/sysdeps/ieee754/ldbl-128/lgamma_negl.c
index e33eaff..ed6a0b4 100644
--- a/sysdeps/ieee754/ldbl-128/lgamma_negl.c
+++ b/sysdeps/ieee754/ldbl-128/lgamma_negl.c
@@ -22,102 +22,102 @@ 
 
 static const _Float128 lgamma_zeros[][2] =
   {
-    { -L(0x2.74ff92c01f0d82abec9f315f1a08p+0), L(0xe.d3ccb7fb2658634a2b9f6b2ba81p-116) },
-    { -L(0x2.bf6821437b20197995a4b4641eaep+0), -L(0xb.f4b00b4829f961e428533e6ad048p-116) },
-    { -L(0x3.24c1b793cb35efb8be699ad3d9bap+0), -L(0x6.5454cb7fac60e3f16d9d7840c2ep-116) },
-    { -L(0x3.f48e2a8f85fca170d4561291236cp+0), -L(0xc.320a4887d1cb4c711828a75d5758p-116) },
-    { -L(0x4.0a139e16656030c39f0b0de18114p+0), L(0x1.53e84029416e1242006b2b3d1cfp-112) },
-    { -L(0x4.fdd5de9bbabf3510d0aa40769884p+0), -L(0x1.01d7d78125286f78d1e501f14966p-112) },
-    { -L(0x5.021a95fc2db6432a4c56e595394cp+0), -L(0x1.ecc6af0430d4fe5746fa7233356fp-112) },
-    { -L(0x5.ffa4bd647d0357dd4ed62cbd31ecp+0), -L(0x1.f8e3f8e5deba2d67dbd70dd96ce1p-112) },
-    { -L(0x6.005ac9625f233b607c2d96d16384p+0), -L(0x1.cb86ac569340cf1e5f24df7aab7bp-112) },
-    { -L(0x6.fff2fddae1bbff3d626b65c23fd4p+0), L(0x1.e0bfcff5c457ebcf4d3ad9674167p-112) },
-    { -L(0x7.000cff7b7f87adf4482dcdb98784p+0), L(0x1.54d99e35a74d6407b80292df199fp-112) },
-    { -L(0x7.fffe5fe05673c3ca9e82b522b0ccp+0), L(0x1.62d177c832e0eb42c2faffd1b145p-112) },
-    { -L(0x8.0001a01459fc9f60cb3cec1cec88p+0), L(0x2.8998835ac7277f7bcef67c47f188p-112) },
-    { -L(0x8.ffffd1c425e80ffc864e95749258p+0), -L(0x1.e7e20210e7f81cf781b44e9d2b02p-112) },
-    { -L(0x9.00002e3bb47d86d6d843fedc352p+0), L(0x2.14852f613a16291751d2ab751f7ep-112) },
-    { -L(0x9.fffffb606bdfdcd062ae77a50548p+0), L(0x3.962d1490cc2e8f031c7007eaa1ap-116) },
-    { -L(0xa.0000049f93bb9927b45d95e1544p+0), -L(0x1.e03086db9146a9287bd4f2172d5ap-112) },
-    { -L(0xa.ffffff9466e9f1b36dacd2adbd18p+0), -L(0xd.05a4e458062f3f95345a4d9c9b6p-116) },
-    { -L(0xb.0000006b9915315d965a6ffea41p+0), L(0x1.b415c6fff233e7b7fdc3a094246fp-112) },
-    { -L(0xb.fffffff7089387387de41acc3d4p+0), L(0x3.687427c6373bd74a10306e10a28ep-112) },
-    { -L(0xc.00000008f76c7731567c0f0250fp+0), -L(0x3.87920df5675833859190eb128ef6p-112) },
-    { -L(0xc.ffffffff4f6dcf617f97a5ffc758p+0), L(0x2.ab72d76f32eaee2d1a42ed515d3ap-116) },
-    { -L(0xd.00000000b092309c06683dd1b9p+0), -L(0x3.e3700857a15c19ac5a611de9688ap-112) },
-    { -L(0xd.fffffffff36345ab9e184a3e09dp+0), -L(0x1.176dc48e47f62d917973dd44e553p-112) },
-    { -L(0xe.000000000c9cba545e94e75ec57p+0), -L(0x1.8f753e2501e757a17cf2ecbeeb89p-112) },
-    { -L(0xe.ffffffffff28c060c6604ef3037p+0), -L(0x1.f89d37357c9e3dc17c6c6e63becap-112) },
-    { -L(0xf.0000000000d73f9f399bd0e420f8p+0), -L(0x5.e9ee31b0b890744fc0e3fbc01048p-116) },
-    { -L(0xf.fffffffffff28c060c6621f512e8p+0), L(0xd.1b2eec9d960bd9adc5be5f5fa5p-116) },
-    { -L(0x1.000000000000d73f9f399da1424cp+4), L(0x6.c46e0e88305d2800f0e414c506a8p-116) },
-    { -L(0x1.0ffffffffffff3569c47e7a93e1cp+4), -L(0x4.6a08a2e008a998ebabb8087efa2cp-112) },
-    { -L(0x1.1000000000000ca963b818568887p+4), -L(0x6.ca5a3a64ec15db0a95caf2c9ffb4p-112) },
-    { -L(0x1.1fffffffffffff4bec3ce234132dp+4), -L(0x8.b2b726187c841cb92cd5221e444p-116) },
-    { -L(0x1.20000000000000b413c31dcbeca5p+4), L(0x3.c4d005344b6cd0e7231120294abcp-112) },
-    { -L(0x1.2ffffffffffffff685b25cbf5f54p+4), -L(0x5.ced932e38485f7dd296b8fa41448p-112) },
-    { -L(0x1.30000000000000097a4da340a0acp+4), L(0x7.e484e0e0ffe38d406ebebe112f88p-112) },
-    { -L(0x1.3fffffffffffffff86af516ff7f7p+4), -L(0x6.bd67e720d57854502b7db75e1718p-112) },
-    { -L(0x1.40000000000000007950ae900809p+4), L(0x6.bec33375cac025d9c073168c5d9p-112) },
-    { -L(0x1.4ffffffffffffffffa391c4248c3p+4), L(0x5.c63022b62b5484ba346524db607p-112) },
-    { -L(0x1.500000000000000005c6e3bdb73dp+4), -L(0x5.c62f55ed5322b2685c5e9a51e6a8p-112) },
-    { -L(0x1.5fffffffffffffffffbcc71a492p+4), -L(0x1.eb5aeb96c74d7ad25e060528fb5p-112) },
-    { -L(0x1.6000000000000000004338e5b6ep+4), L(0x1.eb5aec04b2f2eb663e4e3d8a018cp-112) },
-    { -L(0x1.6ffffffffffffffffffd13c97d9dp+4), -L(0x3.8fcc4d08d6fe5aa56ab04307ce7ep-112) },
-    { -L(0x1.70000000000000000002ec368263p+4), L(0x3.8fcc4d090cee2f5d0b69a99c353cp-112) },
-    { -L(0x1.7fffffffffffffffffffe0d30fe7p+4), L(0x7.2f577cca4b4c8cb1dc14001ac5ecp-112) },
-    { -L(0x1.800000000000000000001f2cf019p+4), -L(0x7.2f577cca4b3442e35f0040b3b9e8p-112) },
-    { -L(0x1.8ffffffffffffffffffffec0c332p+4), -L(0x2.e9a0572b1bb5b95f346a92d67a6p-112) },
-    { -L(0x1.90000000000000000000013f3ccep+4), L(0x2.e9a0572b1bb5c371ddb3561705ap-112) },
-    { -L(0x1.9ffffffffffffffffffffff3b8bdp+4), -L(0x1.cad8d32e386fd783e97296d63dcbp-116) },
-    { -L(0x1.a0000000000000000000000c4743p+4), L(0x1.cad8d32e386fd7c1ab8c1fe34c0ep-116) },
-    { -L(0x1.afffffffffffffffffffffff8b95p+4), -L(0x3.8f48cc5737d5979c39db806c5406p-112) },
-    { -L(0x1.b00000000000000000000000746bp+4), L(0x3.8f48cc5737d5979c3b3a6bda06f6p-112) },
-    { -L(0x1.bffffffffffffffffffffffffbd8p+4), L(0x6.2898d42174dcf171470d8c8c6028p-112) },
-    { -L(0x1.c000000000000000000000000428p+4), -L(0x6.2898d42174dcf171470d18ba412cp-112) },
-    { -L(0x1.cfffffffffffffffffffffffffdbp+4), -L(0x4.c0ce9794ea50a839e311320bde94p-112) },
-    { -L(0x1.d000000000000000000000000025p+4), L(0x4.c0ce9794ea50a839e311322f7cf8p-112) },
-    { -L(0x1.dfffffffffffffffffffffffffffp+4), L(0x3.932c5047d60e60caded4c298a174p-112) },
-    { -L(0x1.e000000000000000000000000001p+4), -L(0x3.932c5047d60e60caded4c298973ap-112) },
-    { -L(0x1.fp+4), L(0xa.1a6973c1fade2170f7237d35fe3p-116) },
-    { -L(0x1.fp+4), -L(0xa.1a6973c1fade2170f7237d35fe08p-116) },
-    { -L(0x2p+4), L(0x5.0d34b9e0fd6f10b87b91be9aff1p-120) },
-    { -L(0x2p+4), -L(0x5.0d34b9e0fd6f10b87b91be9aff0cp-120) },
-    { -L(0x2.1p+4), L(0x2.73024a9ba1aa36a7059bff52e844p-124) },
-    { -L(0x2.1p+4), -L(0x2.73024a9ba1aa36a7059bff52e844p-124) },
-    { -L(0x2.2p+4), L(0x1.2710231c0fd7a13f8a2b4af9d6b7p-128) },
-    { -L(0x2.2p+4), -L(0x1.2710231c0fd7a13f8a2b4af9d6b7p-128) },
-    { -L(0x2.3p+4), L(0x8.6e2ce38b6c8f9419e3fad3f0312p-136) },
-    { -L(0x2.3p+4), -L(0x8.6e2ce38b6c8f9419e3fad3f0312p-136) },
-    { -L(0x2.4p+4), L(0x3.bf30652185952560d71a254e4eb8p-140) },
-    { -L(0x2.4p+4), -L(0x3.bf30652185952560d71a254e4eb8p-140) },
-    { -L(0x2.5p+4), L(0x1.9ec8d1c94e85af4c78b15c3d89d3p-144) },
-    { -L(0x2.5p+4), -L(0x1.9ec8d1c94e85af4c78b15c3d89d3p-144) },
-    { -L(0x2.6p+4), L(0xa.ea565ce061d57489e9b85276274p-152) },
-    { -L(0x2.6p+4), -L(0xa.ea565ce061d57489e9b85276274p-152) },
-    { -L(0x2.7p+4), L(0x4.7a6512692eb37804111dabad30ecp-156) },
-    { -L(0x2.7p+4), -L(0x4.7a6512692eb37804111dabad30ecp-156) },
-    { -L(0x2.8p+4), L(0x1.ca8ed42a12ae3001a07244abad2bp-160) },
-    { -L(0x2.8p+4), -L(0x1.ca8ed42a12ae3001a07244abad2bp-160) },
-    { -L(0x2.9p+4), L(0xb.2f30e1ce812063f12e7e8d8d96e8p-168) },
-    { -L(0x2.9p+4), -L(0xb.2f30e1ce812063f12e7e8d8d96e8p-168) },
-    { -L(0x2.ap+4), L(0x4.42bd49d4c37a0db136489772e428p-172) },
-    { -L(0x2.ap+4), -L(0x4.42bd49d4c37a0db136489772e428p-172) },
-    { -L(0x2.bp+4), L(0x1.95db45257e5122dcbae56def372p-176) },
-    { -L(0x2.bp+4), -L(0x1.95db45257e5122dcbae56def372p-176) },
-    { -L(0x2.cp+4), L(0x9.3958d81ff63527ecf993f3fb6f48p-184) },
-    { -L(0x2.cp+4), -L(0x9.3958d81ff63527ecf993f3fb6f48p-184) },
-    { -L(0x2.dp+4), L(0x3.47970e4440c8f1c058bd238c9958p-188) },
-    { -L(0x2.dp+4), -L(0x3.47970e4440c8f1c058bd238c9958p-188) },
-    { -L(0x2.ep+4), L(0x1.240804f65951062ca46e4f25c608p-192) },
-    { -L(0x2.ep+4), -L(0x1.240804f65951062ca46e4f25c608p-192) },
-    { -L(0x2.fp+4), L(0x6.36a382849fae6de2d15362d8a394p-200) },
-    { -L(0x2.fp+4), -L(0x6.36a382849fae6de2d15362d8a394p-200) },
-    { -L(0x3p+4), L(0x2.123680d6dfe4cf4b9b1bcb9d8bdcp-204) },
-    { -L(0x3p+4), -L(0x2.123680d6dfe4cf4b9b1bcb9d8bdcp-204) },
-    { -L(0x3.1p+4), L(0xa.d21786ff5842eca51fea0870919p-212) },
-    { -L(0x3.1p+4), -L(0xa.d21786ff5842eca51fea0870919p-212) },
-    { -L(0x3.2p+4), L(0x3.766dedc259af040be140a68a6c04p-216) },
+    { L(-0x2.74ff92c01f0d82abec9f315f1a08p+0), L(0xe.d3ccb7fb2658634a2b9f6b2ba81p-116) },
+    { L(-0x2.bf6821437b20197995a4b4641eaep+0), L(-0xb.f4b00b4829f961e428533e6ad048p-116) },
+    { L(-0x3.24c1b793cb35efb8be699ad3d9bap+0), L(-0x6.5454cb7fac60e3f16d9d7840c2ep-116) },
+    { L(-0x3.f48e2a8f85fca170d4561291236cp+0), L(-0xc.320a4887d1cb4c711828a75d5758p-116) },
+    { L(-0x4.0a139e16656030c39f0b0de18114p+0), L(0x1.53e84029416e1242006b2b3d1cfp-112) },
+    { L(-0x4.fdd5de9bbabf3510d0aa40769884p+0), L(-0x1.01d7d78125286f78d1e501f14966p-112) },
+    { L(-0x5.021a95fc2db6432a4c56e595394cp+0), L(-0x1.ecc6af0430d4fe5746fa7233356fp-112) },
+    { L(-0x5.ffa4bd647d0357dd4ed62cbd31ecp+0), L(-0x1.f8e3f8e5deba2d67dbd70dd96ce1p-112) },
+    { L(-0x6.005ac9625f233b607c2d96d16384p+0), L(-0x1.cb86ac569340cf1e5f24df7aab7bp-112) },
+    { L(-0x6.fff2fddae1bbff3d626b65c23fd4p+0), L(0x1.e0bfcff5c457ebcf4d3ad9674167p-112) },
+    { L(-0x7.000cff7b7f87adf4482dcdb98784p+0), L(0x1.54d99e35a74d6407b80292df199fp-112) },
+    { L(-0x7.fffe5fe05673c3ca9e82b522b0ccp+0), L(0x1.62d177c832e0eb42c2faffd1b145p-112) },
+    { L(-0x8.0001a01459fc9f60cb3cec1cec88p+0), L(0x2.8998835ac7277f7bcef67c47f188p-112) },
+    { L(-0x8.ffffd1c425e80ffc864e95749258p+0), L(-0x1.e7e20210e7f81cf781b44e9d2b02p-112) },
+    { L(-0x9.00002e3bb47d86d6d843fedc352p+0),  L(0x2.14852f613a16291751d2ab751f7ep-112) },
+    { L(-0x9.fffffb606bdfdcd062ae77a50548p+0), L(0x3.962d1490cc2e8f031c7007eaa1ap-116) },
+    { L(-0xa.0000049f93bb9927b45d95e1544p+0),  L(-0x1.e03086db9146a9287bd4f2172d5ap-112) },
+    { L(-0xa.ffffff9466e9f1b36dacd2adbd18p+0), L(-0xd.05a4e458062f3f95345a4d9c9b6p-116) },
+    { L(-0xb.0000006b9915315d965a6ffea41p+0),  L(0x1.b415c6fff233e7b7fdc3a094246fp-112) },
+    { L(-0xb.fffffff7089387387de41acc3d4p+0),  L(0x3.687427c6373bd74a10306e10a28ep-112) },
+    { L(-0xc.00000008f76c7731567c0f0250fp+0),  L(-0x3.87920df5675833859190eb128ef6p-112) },
+    { L(-0xc.ffffffff4f6dcf617f97a5ffc758p+0), L(0x2.ab72d76f32eaee2d1a42ed515d3ap-116) },
+    { L(-0xd.00000000b092309c06683dd1b9p+0),   L(-0x3.e3700857a15c19ac5a611de9688ap-112) },
+    { L(-0xd.fffffffff36345ab9e184a3e09dp+0),  L(-0x1.176dc48e47f62d917973dd44e553p-112) },
+    { L(-0xe.000000000c9cba545e94e75ec57p+0),  L(-0x1.8f753e2501e757a17cf2ecbeeb89p-112) },
+    { L(-0xe.ffffffffff28c060c6604ef3037p+0),  L(-0x1.f89d37357c9e3dc17c6c6e63becap-112) },
+    { L(-0xf.0000000000d73f9f399bd0e420f8p+0), L(-0x5.e9ee31b0b890744fc0e3fbc01048p-116) },
+    { L(-0xf.fffffffffff28c060c6621f512e8p+0), L(0xd.1b2eec9d960bd9adc5be5f5fa5p-116) },
+    { L(-0x1.000000000000d73f9f399da1424cp+4), L(0x6.c46e0e88305d2800f0e414c506a8p-116) },
+    { L(-0x1.0ffffffffffff3569c47e7a93e1cp+4), L(-0x4.6a08a2e008a998ebabb8087efa2cp-112) },
+    { L(-0x1.1000000000000ca963b818568887p+4), L(-0x6.ca5a3a64ec15db0a95caf2c9ffb4p-112) },
+    { L(-0x1.1fffffffffffff4bec3ce234132dp+4), L(-0x8.b2b726187c841cb92cd5221e444p-116) },
+    { L(-0x1.20000000000000b413c31dcbeca5p+4), L(0x3.c4d005344b6cd0e7231120294abcp-112) },
+    { L(-0x1.2ffffffffffffff685b25cbf5f54p+4), L(-0x5.ced932e38485f7dd296b8fa41448p-112) },
+    { L(-0x1.30000000000000097a4da340a0acp+4), L(0x7.e484e0e0ffe38d406ebebe112f88p-112) },
+    { L(-0x1.3fffffffffffffff86af516ff7f7p+4), L(-0x6.bd67e720d57854502b7db75e1718p-112) },
+    { L(-0x1.40000000000000007950ae900809p+4), L(0x6.bec33375cac025d9c073168c5d9p-112) },
+    { L(-0x1.4ffffffffffffffffa391c4248c3p+4), L(0x5.c63022b62b5484ba346524db607p-112) },
+    { L(-0x1.500000000000000005c6e3bdb73dp+4), L(-0x5.c62f55ed5322b2685c5e9a51e6a8p-112) },
+    { L(-0x1.5fffffffffffffffffbcc71a492p+4),  L(-0x1.eb5aeb96c74d7ad25e060528fb5p-112) },
+    { L(-0x1.6000000000000000004338e5b6ep+4),  L(0x1.eb5aec04b2f2eb663e4e3d8a018cp-112) },
+    { L(-0x1.6ffffffffffffffffffd13c97d9dp+4), L(-0x3.8fcc4d08d6fe5aa56ab04307ce7ep-112) },
+    { L(-0x1.70000000000000000002ec368263p+4), L(0x3.8fcc4d090cee2f5d0b69a99c353cp-112) },
+    { L(-0x1.7fffffffffffffffffffe0d30fe7p+4), L(0x7.2f577cca4b4c8cb1dc14001ac5ecp-112) },
+    { L(-0x1.800000000000000000001f2cf019p+4), L(-0x7.2f577cca4b3442e35f0040b3b9e8p-112) },
+    { L(-0x1.8ffffffffffffffffffffec0c332p+4), L(-0x2.e9a0572b1bb5b95f346a92d67a6p-112) },
+    { L(-0x1.90000000000000000000013f3ccep+4), L(0x2.e9a0572b1bb5c371ddb3561705ap-112) },
+    { L(-0x1.9ffffffffffffffffffffff3b8bdp+4), L(-0x1.cad8d32e386fd783e97296d63dcbp-116) },
+    { L(-0x1.a0000000000000000000000c4743p+4), L(0x1.cad8d32e386fd7c1ab8c1fe34c0ep-116) },
+    { L(-0x1.afffffffffffffffffffffff8b95p+4), L(-0x3.8f48cc5737d5979c39db806c5406p-112) },
+    { L(-0x1.b00000000000000000000000746bp+4), L(0x3.8f48cc5737d5979c3b3a6bda06f6p-112) },
+    { L(-0x1.bffffffffffffffffffffffffbd8p+4), L(0x6.2898d42174dcf171470d8c8c6028p-112) },
+    { L(-0x1.c000000000000000000000000428p+4), L(-0x6.2898d42174dcf171470d18ba412cp-112) },
+    { L(-0x1.cfffffffffffffffffffffffffdbp+4), L(-0x4.c0ce9794ea50a839e311320bde94p-112) },
+    { L(-0x1.d000000000000000000000000025p+4), L(0x4.c0ce9794ea50a839e311322f7cf8p-112) },
+    { L(-0x1.dfffffffffffffffffffffffffffp+4), L(0x3.932c5047d60e60caded4c298a174p-112) },
+    { L(-0x1.e000000000000000000000000001p+4), L(-0x3.932c5047d60e60caded4c298973ap-112) },
+    { L(-0x1.fp+4), L(0xa.1a6973c1fade2170f7237d35fe3p-116) },
+    { L(-0x1.fp+4), L(-0xa.1a6973c1fade2170f7237d35fe08p-116) },
+    { L(-0x2p+4),   L(0x5.0d34b9e0fd6f10b87b91be9aff1p-120) },
+    { L(-0x2p+4),   L(-0x5.0d34b9e0fd6f10b87b91be9aff0cp-120) },
+    { L(-0x2.1p+4), L(0x2.73024a9ba1aa36a7059bff52e844p-124) },
+    { L(-0x2.1p+4), L(-0x2.73024a9ba1aa36a7059bff52e844p-124) },
+    { L(-0x2.2p+4), L(0x1.2710231c0fd7a13f8a2b4af9d6b7p-128) },
+    { L(-0x2.2p+4), L(-0x1.2710231c0fd7a13f8a2b4af9d6b7p-128) },
+    { L(-0x2.3p+4), L(0x8.6e2ce38b6c8f9419e3fad3f0312p-136) },
+    { L(-0x2.3p+4), L(-0x8.6e2ce38b6c8f9419e3fad3f0312p-136) },
+    { L(-0x2.4p+4), L(0x3.bf30652185952560d71a254e4eb8p-140) },
+    { L(-0x2.4p+4), L(-0x3.bf30652185952560d71a254e4eb8p-140) },
+    { L(-0x2.5p+4), L(0x1.9ec8d1c94e85af4c78b15c3d89d3p-144) },
+    { L(-0x2.5p+4), L(-0x1.9ec8d1c94e85af4c78b15c3d89d3p-144) },
+    { L(-0x2.6p+4), L(0xa.ea565ce061d57489e9b85276274p-152) },
+    { L(-0x2.6p+4), L(-0xa.ea565ce061d57489e9b85276274p-152) },
+    { L(-0x2.7p+4), L(0x4.7a6512692eb37804111dabad30ecp-156) },
+    { L(-0x2.7p+4), L(-0x4.7a6512692eb37804111dabad30ecp-156) },
+    { L(-0x2.8p+4), L(0x1.ca8ed42a12ae3001a07244abad2bp-160) },
+    { L(-0x2.8p+4), L(-0x1.ca8ed42a12ae3001a07244abad2bp-160) },
+    { L(-0x2.9p+4), L(0xb.2f30e1ce812063f12e7e8d8d96e8p-168) },
+    { L(-0x2.9p+4), L(-0xb.2f30e1ce812063f12e7e8d8d96e8p-168) },
+    { L(-0x2.ap+4), L(0x4.42bd49d4c37a0db136489772e428p-172) },
+    { L(-0x2.ap+4), L(-0x4.42bd49d4c37a0db136489772e428p-172) },
+    { L(-0x2.bp+4), L(0x1.95db45257e5122dcbae56def372p-176) },
+    { L(-0x2.bp+4), L(-0x1.95db45257e5122dcbae56def372p-176) },
+    { L(-0x2.cp+4), L(0x9.3958d81ff63527ecf993f3fb6f48p-184) },
+    { L(-0x2.cp+4), L(-0x9.3958d81ff63527ecf993f3fb6f48p-184) },
+    { L(-0x2.dp+4), L(0x3.47970e4440c8f1c058bd238c9958p-188) },
+    { L(-0x2.dp+4), L(-0x3.47970e4440c8f1c058bd238c9958p-188) },
+    { L(-0x2.ep+4), L(0x1.240804f65951062ca46e4f25c608p-192) },
+    { L(-0x2.ep+4), L(-0x1.240804f65951062ca46e4f25c608p-192) },
+    { L(-0x2.fp+4), L(0x6.36a382849fae6de2d15362d8a394p-200) },
+    { L(-0x2.fp+4), L(-0x6.36a382849fae6de2d15362d8a394p-200) },
+    { L(-0x3p+4),  L(0x2.123680d6dfe4cf4b9b1bcb9d8bdcp-204) },
+    { L(-0x3p+4),  L(-0x2.123680d6dfe4cf4b9b1bcb9d8bdcp-204) },
+    { L(-0x3.1p+4), L(0xa.d21786ff5842eca51fea0870919p-212) },
+    { L(-0x3.1p+4), L(-0xa.d21786ff5842eca51fea0870919p-212) },
+    { L(-0x3.2p+4), L(0x3.766dedc259af040be140a68a6c04p-216) },
   };
 
 static const _Float128 e_hi = L(0x2.b7e151628aed2a6abf7158809cf4p+0);
@@ -130,31 +130,31 @@  static const _Float128 e_lo = L(0xf.3c762e7160f38b4da56a784d9048p-116);
 static const _Float128 lgamma_coeff[] =
   {
     L(0x1.5555555555555555555555555555p-4),
-    -L(0xb.60b60b60b60b60b60b60b60b60b8p-12),
+   -L(0xb.60b60b60b60b60b60b60b60b60b8p-12),
     L(0x3.4034034034034034034034034034p-12),
-    -L(0x2.7027027027027027027027027028p-12),
+   -L(0x2.7027027027027027027027027028p-12),
     L(0x3.72a3c5631fe46ae1d4e700dca8f2p-12),
-    -L(0x7.daac36664f1f207daac36664f1f4p-12),
+   -L(0x7.daac36664f1f207daac36664f1f4p-12),
     L(0x1.a41a41a41a41a41a41a41a41a41ap-8),
-    -L(0x7.90a1b2c3d4e5f708192a3b4c5d7p-8),
+   -L(0x7.90a1b2c3d4e5f708192a3b4c5d7p-8),
     L(0x2.dfd2c703c0cfff430edfd2c703cp-4),
-    -L(0x1.6476701181f39edbdb9ce625987dp+0),
+   -L(0x1.6476701181f39edbdb9ce625987dp+0),
     L(0xd.672219167002d3a7a9c886459cp+0),
-    -L(0x9.cd9292e6660d55b3f712eb9e07c8p+4),
+   -L(0x9.cd9292e6660d55b3f712eb9e07c8p+4),
     L(0x8.911a740da740da740da740da741p+8),
-    -L(0x8.d0cc570e255bf59ff6eec24b49p+12),
+   -L(0x8.d0cc570e255bf59ff6eec24b49p+12),
     L(0xa.8d1044d3708d1c219ee4fdc446ap+16),
-    -L(0xe.8844d8a169abbc406169abbc406p+20),
+   -L(0xe.8844d8a169abbc406169abbc406p+20),
     L(0x1.6d29a0f6433b79890cede62433b8p+28),
-    -L(0x2.88a233b3c8cddaba9809357125d8p+32),
+   -L(0x2.88a233b3c8cddaba9809357125d8p+32),
     L(0x5.0dde6f27500939a85c40939a85c4p+36),
-    -L(0xb.4005bde03d4642a243581714af68p+40),
+   -L(0xb.4005bde03d4642a243581714af68p+40),
     L(0x1.bc8cd6f8f1f755c78753cdb5d5c9p+48),
-    -L(0x4.bbebb143bb94de5a0284fa7ec424p+52),
+   -L(0x4.bbebb143bb94de5a0284fa7ec424p+52),
     L(0xe.2e1337f5af0bed90b6b0a352d4fp+56),
-    -L(0x2.e78250162b62405ad3e4bfe61b38p+64),
+   -L(0x2.e78250162b62405ad3e4bfe61b38p+64),
     L(0xa.5f7eef9e71ac7c80326ab4cc8bfp+68),
-    -L(0x2.83be0395e550213369924971b21ap+76),
+   -L(0x2.83be0395e550213369924971b21ap+76),
     L(0xa.8ebfe48da17dd999790760b0cep+80),
   };
 
@@ -169,112 +169,112 @@  static const _Float128 lgamma_coeff[] =
 static const _Float128 poly_coeff[] =
   {
     /* Interval [-2.125, -2] (polynomial degree 23).  */
-    -L(0x1.0b71c5c54d42eb6c17f30b7aa8f5p+0),
-    -L(0xc.73a1dc05f34951602554c6d7506p-4),
-    -L(0x1.ec841408528b51473e6c425ee5ffp-4),
-    -L(0xe.37c9da26fc3c9a3c1844c8c7f1cp-4),
-    -L(0x1.03cd87c519305703b021fa33f827p-4),
-    -L(0xe.ae9ada65e09aa7f1c75216128f58p-4),
+   -L(0x1.0b71c5c54d42eb6c17f30b7aa8f5p+0),
+   -L(0xc.73a1dc05f34951602554c6d7506p-4),
+   -L(0x1.ec841408528b51473e6c425ee5ffp-4),
+   -L(0xe.37c9da26fc3c9a3c1844c8c7f1cp-4),
+   -L(0x1.03cd87c519305703b021fa33f827p-4),
+   -L(0xe.ae9ada65e09aa7f1c75216128f58p-4),
     L(0x9.b11855a4864b5731cf85736015a8p-8),
-    -L(0xe.f28c133e697a95c28607c9701dep-4),
+   -L(0xe.f28c133e697a95c28607c9701dep-4),
     L(0x2.6ec14a1c586a72a7cc33ee569d6ap-4),
-    -L(0xf.57cab973e14464a262fc24723c38p-4),
+   -L(0xf.57cab973e14464a262fc24723c38p-4),
     L(0x4.5b0fc25f16e52997b2886bbae808p-4),
-    -L(0xf.f50e59f1a9b56e76e988dac9ccf8p-4),
+   -L(0xf.f50e59f1a9b56e76e988dac9ccf8p-4),
     L(0x6.5f5eae15e9a93369e1d85146c6fcp-4),
-    -L(0x1.0d2422daac459e33e0994325ed23p+0),
+   -L(0x1.0d2422daac459e33e0994325ed23p+0),
     L(0x8.82000a0e7401fb1117a0e6606928p-4),
-    -L(0x1.1f492f178a3f1b19f58a2ca68e55p+0),
+   -L(0x1.1f492f178a3f1b19f58a2ca68e55p+0),
     L(0xa.cb545f949899a04c160b19389abp-4),
-    -L(0x1.36165a1b155ba3db3d1b77caf498p+0),
+   -L(0x1.36165a1b155ba3db3d1b77caf498p+0),
     L(0xd.44c5d5576f74302e5cf79e183eep-4),
-    -L(0x1.51f22e0cdd33d3d481e326c02f3ep+0),
+   -L(0x1.51f22e0cdd33d3d481e326c02f3ep+0),
     L(0xf.f73a349c08244ac389c007779bfp-4),
-    -L(0x1.73317bf626156ba716747c4ca866p+0),
+   -L(0x1.73317bf626156ba716747c4ca866p+0),
     L(0x1.379c3c97b9bc71e1c1c4802dd657p+0),
-    -L(0x1.a72a351c54f902d483052000f5dfp+0),
+   -L(0x1.a72a351c54f902d483052000f5dfp+0),
     /* Interval [-2.25, -2.125] (polynomial degree 24).  */
-    -L(0xf.2930890d7d675a80c36afb0fd5e8p-4),
-    -L(0xc.a5cfde054eab5c6770daeca577f8p-4),
+   -L(0xf.2930890d7d675a80c36afb0fd5e8p-4),
+   -L(0xc.a5cfde054eab5c6770daeca577f8p-4),
     L(0x3.9c9e0fdebb07cdf89c61d41c9238p-4),
-    -L(0x1.02a5ad35605fcf4af65a6dbacb84p+0),
+   -L(0x1.02a5ad35605fcf4af65a6dbacb84p+0),
     L(0x9.6e9b1185bb48be9de1918e00a2e8p-4),
-    -L(0x1.4d8332f3cfbfa116fd611e9ce90dp+0),
+   -L(0x1.4d8332f3cfbfa116fd611e9ce90dp+0),
     L(0x1.1c0c8cb4d9f4b1d490e1a41fae4dp+0),
-    -L(0x1.c9a6f5ae9130cd0299e293a42714p+0),
+   -L(0x1.c9a6f5ae9130cd0299e293a42714p+0),
     L(0x1.d7e9307fd58a2ea997f29573a112p+0),
-    -L(0x2.921cb3473d96178ca2a11d2a8d46p+0),
+   -L(0x2.921cb3473d96178ca2a11d2a8d46p+0),
     L(0x2.e8d59113b6f3409ff8db226e9988p+0),
-    -L(0x3.cbab931625a1ae2b26756817f264p+0),
+   -L(0x3.cbab931625a1ae2b26756817f264p+0),
     L(0x4.7d9f0f05d5296d18663ca003912p+0),
-    -L(0x5.ade9cba12a14ea485667b7135bbp+0),
+   -L(0x5.ade9cba12a14ea485667b7135bbp+0),
     L(0x6.dc983a5da74fb48e767b7fec0a3p+0),
-    -L(0x8.8d9ed454ae31d9e138dd8ee0d1a8p+0),
+   -L(0x8.8d9ed454ae31d9e138dd8ee0d1a8p+0),
     L(0xa.6fa099d4e7c202e0c0fd6ed8492p+0),
-    -L(0xc.ebc552a8090a0f0115e92d4ebbc8p+0),
+   -L(0xc.ebc552a8090a0f0115e92d4ebbc8p+0),
     L(0xf.d695e4772c0d829b53fba9ca5568p+0),
-    -L(0x1.38c32ae38e5e9eb79b2a4c5570a9p+4),
+   -L(0x1.38c32ae38e5e9eb79b2a4c5570a9p+4),
     L(0x1.8035145646cfab49306d0999a51bp+4),
-    -L(0x1.d930adbb03dd342a4c2a8c4e1af6p+4),
+   -L(0x1.d930adbb03dd342a4c2a8c4e1af6p+4),
     L(0x2.45c2edb1b4943ddb3686cd9c6524p+4),
-    -L(0x2.e818ebbfafe2f916fa21abf7756p+4),
+   -L(0x2.e818ebbfafe2f916fa21abf7756p+4),
     L(0x3.9804ce51d0fb9a430a711fd7307p+4),
     /* Interval [-2.375, -2.25] (polynomial degree 25).  */
-    -L(0xd.7d28d505d6181218a25f31d5e45p-4),
-    -L(0xe.69649a3040985140cdf946829fap-4),
+   -L(0xd.7d28d505d6181218a25f31d5e45p-4),
+   -L(0xe.69649a3040985140cdf946829fap-4),
     L(0xb.0d74a2827d053a8d44595012484p-4),
-    -L(0x1.924b0922853617cac181afbc08ddp+0),
+   -L(0x1.924b0922853617cac181afbc08ddp+0),
     L(0x1.d49b12bccf0a568582e2d3c410f3p+0),
-    -L(0x3.0898bb7d8c4093e636279c791244p+0),
+   -L(0x3.0898bb7d8c4093e636279c791244p+0),
     L(0x4.207a6cac711cb53868e8a5057eep+0),
-    -L(0x6.39ee63ea4fb1dcab0c9144bf3ddcp+0),
+   -L(0x6.39ee63ea4fb1dcab0c9144bf3ddcp+0),
     L(0x8.e2e2556a797b649bf3f53bd26718p+0),
-    -L(0xd.0e83ac82552ef12af508589e7a8p+0),
+   -L(0xd.0e83ac82552ef12af508589e7a8p+0),
     L(0x1.2e4525e0ce6670563c6484a82b05p+4),
-    -L(0x1.b8e350d6a8f2b222fa390a57c23dp+4),
+   -L(0x1.b8e350d6a8f2b222fa390a57c23dp+4),
     L(0x2.805cd69b919087d8a80295892c2cp+4),
-    -L(0x3.a42585424a1b7e64c71743ab014p+4),
+   -L(0x3.a42585424a1b7e64c71743ab014p+4),
     L(0x5.4b4f409f98de49f7bfb03c05f984p+4),
-    -L(0x7.b3c5827fbe934bc820d6832fb9fcp+4),
+   -L(0x7.b3c5827fbe934bc820d6832fb9fcp+4),
     L(0xb.33b7b90cc96c425526e0d0866e7p+4),
-    -L(0x1.04b77047ac4f59ee3775ca10df0dp+8),
+   -L(0x1.04b77047ac4f59ee3775ca10df0dp+8),
     L(0x1.7b366f5e94a34f41386eac086313p+8),
-    -L(0x2.2797338429385c9849ca6355bfc2p+8),
+   -L(0x2.2797338429385c9849ca6355bfc2p+8),
     L(0x3.225273cf92a27c9aac1b35511256p+8),
-    -L(0x4.8f078aa48afe6cb3a4e89690f898p+8),
+   -L(0x4.8f078aa48afe6cb3a4e89690f898p+8),
     L(0x6.9f311d7b6654fc1d0b5195141d04p+8),
-    -L(0x9.a0c297b6b4621619ca9bacc48ed8p+8),
+   -L(0x9.a0c297b6b4621619ca9bacc48ed8p+8),
     L(0xe.ce1f06b6f90d92138232a76e4cap+8),
-    -L(0x1.5b0e6806fa064daf011613e43b17p+12),
+   -L(0x1.5b0e6806fa064daf011613e43b17p+12),
     /* Interval [-2.5, -2.375] (polynomial degree 27).  */
-    -L(0xb.74ea1bcfff94b2c01afba9daa7d8p-4),
-    -L(0x1.2a82bd590c37538cab143308de4dp+0),
+   -L(0xb.74ea1bcfff94b2c01afba9daa7d8p-4),
+   -L(0x1.2a82bd590c37538cab143308de4dp+0),
     L(0x1.88020f828b966fec66b8649fd6fcp+0),
-    -L(0x3.32279f040eb694970e9db24863dcp+0),
+   -L(0x3.32279f040eb694970e9db24863dcp+0),
     L(0x5.57ac82517767e68a721005853864p+0),
-    -L(0x9.c2aedcfe22833de43834a0a6cc4p+0),
+   -L(0x9.c2aedcfe22833de43834a0a6cc4p+0),
     L(0x1.12c132f1f5577f99e1a0ed3538e1p+4),
-    -L(0x1.ea94e26628a3de3597f7bb55a948p+4),
+   -L(0x1.ea94e26628a3de3597f7bb55a948p+4),
     L(0x3.66b4ac4fa582f58b59f96b2f7c7p+4),
-    -L(0x6.0cf746a9cf4cba8c39afcc73fc84p+4),
+   -L(0x6.0cf746a9cf4cba8c39afcc73fc84p+4),
     L(0xa.c102ef2c20d75a342197df7fedf8p+4),
-    -L(0x1.31ebff06e8f14626782df58db3b6p+8),
+   -L(0x1.31ebff06e8f14626782df58db3b6p+8),
     L(0x2.1fd6f0c0e710994e059b9dbdb1fep+8),
-    -L(0x3.c6d76040407f447f8b5074f07706p+8),
+   -L(0x3.c6d76040407f447f8b5074f07706p+8),
     L(0x6.b6d18e0d8feb4c2ef5af6a40ed18p+8),
-    -L(0xb.efaf542c529f91e34217f24ae6a8p+8),
+   -L(0xb.efaf542c529f91e34217f24ae6a8p+8),
     L(0x1.53852d873210e7070f5d9eb2296p+12),
-    -L(0x2.5b977c0ddc6d540717173ac29fc8p+12),
+   -L(0x2.5b977c0ddc6d540717173ac29fc8p+12),
     L(0x4.310d452ae05100eff1e02343a724p+12),
-    -L(0x7.73a5d8f20c4f986a7dd1912b2968p+12),
+   -L(0x7.73a5d8f20c4f986a7dd1912b2968p+12),
     L(0xd.3f5ea2484f3fca15eab1f4d1a218p+12),
-    -L(0x1.78d18aac156d1d93a2ffe7e08d3fp+16),
+   -L(0x1.78d18aac156d1d93a2ffe7e08d3fp+16),
     L(0x2.9df49ca75e5b567f5ea3e47106cp+16),
-    -L(0x4.a7149af8961a08aa7c3233b5bb94p+16),
+   -L(0x4.a7149af8961a08aa7c3233b5bb94p+16),
     L(0x8.3db10ffa742c707c25197d989798p+16),
-    -L(0xe.a26d6dd023cadd02041a049ec368p+16),
+   -L(0xe.a26d6dd023cadd02041a049ec368p+16),
     L(0x1.c825d90514e7c57c7fa5316f947cp+20),
-    -L(0x3.34bb81e5a0952df8ca1abdc6684cp+20),
+   -L(0x3.34bb81e5a0952df8ca1abdc6684cp+20),
     /* Interval [-2.625, -2.5] (polynomial degree 28).  */
     -L(0x3.d10108c27ebafad533c20eac32bp-4),
     L(0x1.cd557caff7d2b2085f41dbec5106p+0),
@@ -306,7 +306,7 @@  static const _Float128 poly_coeff[] =
     L(0x6.ebd560d351e84e26a4381f5b293cp+20),
     L(0xc.c3644d094b0dae2fbcbf682cd428p+20),
     /* Interval [-2.75, -2.625] (polynomial degree 26).  */
-    -L(0x6.b5d252a56e8a75458a27ed1c2dd4p-4),
+   -L(0x6.b5d252a56e8a75458a27ed1c2dd4p-4),
     L(0x1.28d60383da3ac721aed3c5794da9p+0),
     L(0x1.db6513ada8a66ea77d87d9a8827bp+0),
     L(0x2.e217118f9d348a27f7506a707e6ep+0),
@@ -334,7 +334,7 @@  static const _Float128 poly_coeff[] =
     L(0x2.f0365c983f68c597ee49d099cce8p+12),
     L(0x4.53aa229e1b9f5b5e59625265951p+12),
     /* Interval [-2.875, -2.75] (polynomial degree 24).  */
-    -L(0x8.a41b1e4f36ff88dc820815607d68p-4),
+   -L(0x8.a41b1e4f36ff88dc820815607d68p-4),
     L(0xc.da87d3b69dc0f2f9c6f368b8ca1p-4),
     L(0x1.1474ad5c36158a7bea04fd2f98c6p+0),
     L(0x1.761ecb90c555df6555b7dba955b6p+0),
@@ -360,7 +360,7 @@  static const _Float128 poly_coeff[] =
     L(0x6.54bb091245815a36fb74e314dd18p+4),
     L(0x7.d7f445129f7fb6c055e582d3f6ep+4),
     /* Interval [-3, -2.875] (polynomial degree 23).  */
-    -L(0xa.046d667e468f3e44dcae1afcc648p-4),
+   -L(0xa.046d667e468f3e44dcae1afcc648p-4),
     L(0x9.70b88dcc006c214d8d996fdf5ccp-4),
     L(0xa.a8a39421c86d3ff24931a0929fp-4),
     L(0xd.2f4d1363f324da2b357c8b6ec94p-4),
diff --git a/sysdeps/ieee754/ldbl-128/s_atanl.c b/sysdeps/ieee754/ldbl-128/s_atanl.c
index 3f431ab..2ca8461 100644
--- a/sysdeps/ieee754/ldbl-128/s_atanl.c
+++ b/sysdeps/ieee754/ldbl-128/s_atanl.c
@@ -162,11 +162,11 @@  static const _Float128
   p2 = -L(5.713554848244551350855604111031839613216E1),
   p3 = -L(1.371405711877433266573835355036413750118E1),
   p4 = -L(8.638214309119210906997318946650189640184E-1),
-  q0 = L(1.285112506901621042780814422948906537959E2),
-  q1 = L(3.361907253914337187957855834229672347089E2),
-  q2 = L(3.180448303864130128268191635189365331680E2),
-  q3 = L(1.307244136980865800160844625025280344686E2),
-  q4 = L(2.173623741810414221251136181221172551416E1);
+  q0 =  L(1.285112506901621042780814422948906537959E2),
+  q1 =  L(3.361907253914337187957855834229672347089E2),
+  q2 =  L(3.180448303864130128268191635189365331680E2),
+  q3 =  L(1.307244136980865800160844625025280344686E2),
+  q4 =  L(2.173623741810414221251136181221172551416E1);
   /* q5 = 1.000000000000000000000000000000000000000E0 */
 
 static const _Float128 huge = L(1.0e4930);
diff --git a/sysdeps/ieee754/ldbl-128/s_erfl.c b/sysdeps/ieee754/ldbl-128/s_erfl.c
index fc3cea8..6719d68 100644
--- a/sysdeps/ieee754/ldbl-128/s_erfl.c
+++ b/sysdeps/ieee754/ldbl-128/s_erfl.c
@@ -139,7 +139,7 @@  deval (_Float128 x, const _Float128 *p, int n)
 
 
 static const _Float128
-tiny = L(1e-4931),
+  tiny = L(1e-4931),
   one = 1,
   two = 2,
   /* 2/sqrt(pi) - 1 */
diff --git a/sysdeps/ieee754/ldbl-128/s_expm1l.c b/sysdeps/ieee754/ldbl-128/s_expm1l.c
index fd2a99d..9e8a5b9 100644
--- a/sysdeps/ieee754/ldbl-128/s_expm1l.c
+++ b/sysdeps/ieee754/ldbl-128/s_expm1l.c
@@ -63,21 +63,21 @@ 
    Theoretical peak relative error = 8.1e-36  */
 
 static const _Float128
-  P0 = L(2.943520915569954073888921213330863757240E8),
+  P0 =  L(2.943520915569954073888921213330863757240E8),
   P1 = -L(5.722847283900608941516165725053359168840E7),
-  P2 = L(8.944630806357575461578107295909719817253E6),
+  P2 =  L(8.944630806357575461578107295909719817253E6),
   P3 = -L(7.212432713558031519943281748462837065308E5),
-  P4 = L(4.578962475841642634225390068461943438441E4),
+  P4 =  L(4.578962475841642634225390068461943438441E4),
   P5 = -L(1.716772506388927649032068540558788106762E3),
-  P6 = L(4.401308817383362136048032038528753151144E1),
+  P6 =  L(4.401308817383362136048032038528753151144E1),
   P7 = -L(4.888737542888633647784737721812546636240E-1),
-  Q0 = L(1.766112549341972444333352727998584753865E9),
+  Q0 =  L(1.766112549341972444333352727998584753865E9),
   Q1 = -L(7.848989743695296475743081255027098295771E8),
-  Q2 = L(1.615869009634292424463780387327037251069E8),
+  Q2 =  L(1.615869009634292424463780387327037251069E8),
   Q3 = -L(2.019684072836541751428967854947019415698E7),
-  Q4 = L(1.682912729190313538934190635536631941751E6),
+  Q4 =  L(1.682912729190313538934190635536631941751E6),
   Q5 = -L(9.615511549171441430850103489315371768998E4),
-  Q6 = L(3.697714952261803935521187272204485251835E3),
+  Q6 =  L(3.697714952261803935521187272204485251835E3),
   Q7 = -L(8.802340681794263968892934703309274564037E1),
   /* Q8 = 1.000000000000000000000000000000000000000E0 */
 /* C1 + C2 = ln 2 */
diff --git a/sysdeps/ieee754/ldbl-128/s_fmal.c b/sysdeps/ieee754/ldbl-128/s_fmal.c
index efafa8b..eb1e27e 100644
--- a/sysdeps/ieee754/ldbl-128/s_fmal.c
+++ b/sysdeps/ieee754/ldbl-128/s_fmal.c
@@ -75,7 +75,7 @@  __fmal (_Float128 x, _Float128 y, _Float128 z)
 	  < IEEE854_LONG_DOUBLE_BIAS - LDBL_MANT_DIG - 2)
 	{
 	  int neg = u.ieee.negative ^ v.ieee.negative;
-	  _Float128 tiny = neg ? -L(0x1p-16494) : L(0x1p-16494);
+	  _Float128 tiny = neg ? L(-0x1p-16494) : L(0x1p-16494);
 	  if (w.ieee.exponent >= 3)
 	    return tiny + z;
 	  /* Scaling up, adding TINY and scaling down produces the
diff --git a/sysdeps/ieee754/ldbl-128/s_scalblnl.c b/sysdeps/ieee754/ldbl-128/s_scalblnl.c
index c15b8ed..c8adf61 100644
--- a/sysdeps/ieee754/ldbl-128/s_scalblnl.c
+++ b/sysdeps/ieee754/ldbl-128/s_scalblnl.c
@@ -29,10 +29,10 @@  static char rcsid[] = "$NetBSD: $";
 #include <math_private.h>
 
 static const _Float128
-two114 = L(2.0769187434139310514121985316880384E+34), /* 0x4071000000000000, 0 */
+two114  = L(2.0769187434139310514121985316880384E+34), /* 0x4071000000000000, 0 */
 twom114 = L(4.8148248609680896326399448564623183E-35), /* 0x3F8D000000000000, 0 */
-huge   = L(1.0E+4900),
-tiny   = L(1.0E-4900);
+huge    = L(1.0E+4900),
+tiny    = L(1.0E-4900);
 
 _Float128 __scalblnl (_Float128 x, long int n)
 {
diff --git a/sysdeps/ieee754/ldbl-128/s_scalbnl.c b/sysdeps/ieee754/ldbl-128/s_scalbnl.c
index e6fe796..ec50469 100644
--- a/sysdeps/ieee754/ldbl-128/s_scalbnl.c
+++ b/sysdeps/ieee754/ldbl-128/s_scalbnl.c
@@ -29,10 +29,10 @@  static char rcsid[] = "$NetBSD: $";
 #include <math_private.h>
 
 static const _Float128
-two114 = L(2.0769187434139310514121985316880384E+34), /* 0x4071000000000000, 0 */
+two114 =  L(2.0769187434139310514121985316880384E+34), /* 0x4071000000000000, 0 */
 twom114 = L(4.8148248609680896326399448564623183E-35), /* 0x3F8D000000000000, 0 */
-huge   = L(1.0E+4900),
-tiny   = L(1.0E-4900);
+huge   =  L(1.0E+4900),
+tiny   =  L(1.0E-4900);
 
 _Float128 __scalbnl (_Float128 x, int n)
 {