Fix coding rule error in lib
authorjunmin kim <junmindd.kim@samsung.com>
Wed, 30 Aug 2017 07:12:31 +0000 (00:12 -0700)
committerjunmin kim <junmindd.kim@samsung.com>
Wed, 30 Aug 2017 07:13:17 +0000 (00:13 -0700)
lib_exp2.c : spaces required around that '='
libm.h : space required after that close brace '}'

lib/libc/math/lib_exp2.c
lib/libc/math/libm.h

index a036b0c..f15c493 100644 (file)
  * Private Data
  ************************************************************************/
 
-static const double redux =0x1.8p52 / TBLSIZE;
-static const double P1 =0x1.62e42fefa39efp-1;
-static const double P2 =0x1.ebfbdff82c575p-3;
-static const double P3 =0x1.c6b08d704a0a6p-5;
-static const double P4 =0x1.3b2ab88f70400p-7;
-static const double P5 =0x1.5d88003875c74p-10;
+static const double redux = 0x1.8p52 / TBLSIZE;
+static const double P1 = 0x1.62e42fefa39efp-1;
+static const double P2 = 0x1.ebfbdff82c575p-3;
+static const double P3 = 0x1.c6b08d704a0a6p-5;
+static const double P4 = 0x1.3b2ab88f70400p-7;
+static const double P5 = 0x1.5d88003875c74p-10;
 
 static const double tbl[TBLSIZE * 2] = {
        /* exp2(z +eps)         eps     */
index 8a0bdf4..960085c 100644 (file)
@@ -207,7 +207,7 @@ union ldshape {
        ((union {                   \
                _Complex t __z;         \
                t __xy[2];              \
-       }){.__xy = {(x), (y)}}.__z)
+       }){ .__xy = {(x), (y)} } .__z)
 
 #define CMPLX(x, y)  __CMPLX(x, y, double)
 #define CMPLXF(x, y) __CMPLX(x, y, float)