a2cf7d
From f6e3f49613f4a31bce8c5f52ae440f9c7b3646fb Mon Sep 17 00:00:00 2001
a2cf7d
From: Stefan Liebler <stli@linux.ibm.com>
a2cf7d
Date: Wed, 11 Dec 2019 15:09:28 +0100
a2cf7d
Subject: [PATCH 18/28] Adjust s_copysignl.c regarding code style.
a2cf7d
a2cf7d
This patch just adjusts the generic implementation regarding code style.
a2cf7d
No functional change.
a2cf7d
a2cf7d
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
a2cf7d
(cherry picked from commit 1902d5d5ff04771f16b67648789c75a18af06222)
a2cf7d
---
a2cf7d
 sysdeps/ieee754/ldbl-128/s_copysignl.c | 17 +++++++++--------
a2cf7d
 1 file changed, 9 insertions(+), 8 deletions(-)
a2cf7d
a2cf7d
diff --git a/sysdeps/ieee754/ldbl-128/s_copysignl.c b/sysdeps/ieee754/ldbl-128/s_copysignl.c
a2cf7d
index 4cae8612dc..9b0e44cf1d 100644
a2cf7d
--- a/sysdeps/ieee754/ldbl-128/s_copysignl.c
a2cf7d
+++ b/sysdeps/ieee754/ldbl-128/s_copysignl.c
a2cf7d
@@ -13,7 +13,7 @@
a2cf7d
  * ====================================================
a2cf7d
  */
a2cf7d
 
a2cf7d
-#if defined(LIBM_SCCS) && !defined(lint)
a2cf7d
+#if defined (LIBM_SCCS) && ! defined (lint)
a2cf7d
 static char rcsid[] = "$NetBSD: $";
a2cf7d
 #endif
a2cf7d
 
a2cf7d
@@ -28,18 +28,19 @@ static char rcsid[] = "$NetBSD: $";
a2cf7d
 #include <libm-alias-ldouble.h>
a2cf7d
 #include <math-use-builtins.h>
a2cf7d
 
a2cf7d
-_Float128 __copysignl(_Float128 x, _Float128 y)
a2cf7d
+_Float128
a2cf7d
+__copysignl (_Float128 x, _Float128 y)
a2cf7d
 {
a2cf7d
 #if USE_COPYSIGNL_BUILTIN
a2cf7d
   return __builtin_copysignl (x, y);
a2cf7d
 #else
a2cf7d
   /* Use generic implementation.  */
a2cf7d
-	uint64_t hx,hy;
a2cf7d
-	GET_LDOUBLE_MSW64(hx,x);
a2cf7d
-	GET_LDOUBLE_MSW64(hy,y);
a2cf7d
-	SET_LDOUBLE_MSW64(x,(hx&0x7fffffffffffffffULL)
a2cf7d
-			    |(hy&0x8000000000000000ULL));
a2cf7d
-        return x;
a2cf7d
+  uint64_t hx, hy;
a2cf7d
+  GET_LDOUBLE_MSW64 (hx, x);
a2cf7d
+  GET_LDOUBLE_MSW64 (hy, y);
a2cf7d
+  SET_LDOUBLE_MSW64 (x, (hx & 0x7fffffffffffffffULL)
a2cf7d
+		     | (hy & 0x8000000000000000ULL));
a2cf7d
+  return x;
a2cf7d
 #endif /* ! USE_COPYSIGNL_BUILTIN  */
a2cf7d
 }
a2cf7d
 libm_alias_ldouble (__copysign, copysign)
a2cf7d
-- 
a2cf7d
2.18.2
a2cf7d