diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2018-01-18 18:50:44 +0300 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2018-01-18 18:50:44 +0300 |
commit | 843c41dcbf05de5ad435e4eb93ce7ec336d60166 (patch) | |
tree | aa855700c0dc36f4dcb38a9d2ec38746eced5259 /newlib/libm/mathfp/er_lgamma.c | |
parent | ac8f156011e8cb657667a8007c7d606a1aa67467 (diff) |
ansification: unifdef -D__STDC__ libm/mathfptopic/ansification
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libm/mathfp/er_lgamma.c')
-rw-r--r-- | newlib/libm/mathfp/er_lgamma.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/newlib/libm/mathfp/er_lgamma.c b/newlib/libm/mathfp/er_lgamma.c index 915dac7d0..ac35ad754 100644 --- a/newlib/libm/mathfp/er_lgamma.c +++ b/newlib/libm/mathfp/er_lgamma.c @@ -171,11 +171,7 @@ Neither <<gamma>> nor <<gammaf>> is ANSI C. */ #include "fdlibm.h" -#ifdef __STDC__ static const double -#else -static double -#endif two52= 4.50359962737049600000e+15, /* 0x43300000, 0x00000000 */ half= 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */ @@ -243,18 +239,9 @@ w4 = -5.95187557450339963135e-04, /* 0xBF4380CB, 0x8C0FE741 */ w5 = 8.36339918996282139126e-04, /* 0x3F4B67BA, 0x4CDAD5D1 */ w6 = -1.63092934096575273989e-03; /* 0xBF5AB89D, 0x0B9E43E4 */ -#ifdef __STDC__ static const double zero= 0.00000000000000000000e+00; -#else -static double zero= 0.00000000000000000000e+00; -#endif -#ifdef __STDC__ static double sin_pi(double x) -#else - static double sin_pi(x) - double x; -#endif { double y,z; __int32_t n,ix; @@ -299,12 +286,7 @@ static double zero= 0.00000000000000000000e+00; } -#ifdef __STDC__ double lgamma_r(double x, int *signgamp) -#else - double lgamma_r(x,signgamp) - double x; int *signgamp; -#endif { double t,y,z,nadj,p,p1,p2,p3,q,r,w; __int32_t i,hx,lx,ix; |