From d95c118b83b9227e11b22b271e9a8fb9f29a0ed7 Mon Sep 17 00:00:00 2001 From: das Date: Sun, 3 Aug 2008 17:49:05 +0000 Subject: Fix some style bogosity from fdlibm. --- lib/msun/src/e_asin.c | 12 ++++++------ lib/msun/src/e_asinl.c | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'lib') diff --git a/lib/msun/src/e_asin.c b/lib/msun/src/e_asin.c index 4458604..b2cec0e 100644 --- a/lib/msun/src/e_asin.c +++ b/lib/msun/src/e_asin.c @@ -84,12 +84,12 @@ __ieee754_asin(double x) } else if (ix<0x3fe00000) { /* |x|<0.5 */ if(ix<0x3e400000) { /* if |x| < 2**-27 */ if(huge+x>one) return x;/* return x with inexact if x!=0*/ - } else - t = x*x; - p = t*(pS0+t*(pS1+t*(pS2+t*(pS3+t*(pS4+t*pS5))))); - q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4))); - w = p/q; - return x+x*w; + } + t = x*x; + p = t*(pS0+t*(pS1+t*(pS2+t*(pS3+t*(pS4+t*pS5))))); + q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4))); + w = p/q; + return x+x*w; } /* 1> |x|>= 0.5 */ w = one-fabs(x); diff --git a/lib/msun/src/e_asinl.c b/lib/msun/src/e_asinl.c index ee7f5af..a85765f 100644 --- a/lib/msun/src/e_asinl.c +++ b/lib/msun/src/e_asinl.c @@ -47,12 +47,12 @@ asinl(long double x) } else if (exptone) return x;/* return x with inexact if x!=0*/ - } else - t = x*x; - p = P(t); - q = Q(t); - w = p/q; - return x+x*w; + } + t = x*x; + p = P(t); + q = Q(t); + w = p/q; + return x+x*w; } /* 1> |x|>= 0.5 */ w = one-fabsl(x); -- cgit v1.1