summaryrefslogtreecommitdiffstats
path: root/lib/msun
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2008-08-03 17:49:05 +0000
committerdas <das@FreeBSD.org>2008-08-03 17:49:05 +0000
commitd95c118b83b9227e11b22b271e9a8fb9f29a0ed7 (patch)
tree9dbba6e77ce0fe555df0cdbaebdf8176bafc1c7c /lib/msun
parente570127fafd3b96a09e858eee7e047700977dc7f (diff)
downloadFreeBSD-src-d95c118b83b9227e11b22b271e9a8fb9f29a0ed7.zip
FreeBSD-src-d95c118b83b9227e11b22b271e9a8fb9f29a0ed7.tar.gz
Fix some style bogosity from fdlibm.
Diffstat (limited to 'lib/msun')
-rw-r--r--lib/msun/src/e_asin.c12
-rw-r--r--lib/msun/src/e_asinl.c12
2 files changed, 12 insertions, 12 deletions
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 (expt<BIAS-1) { /* |x|<0.5 */
if(expt<ASIN_LINEAR) { /* if |x| is small, asinl(x)=x */
if(huge+x>one) 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);
OpenPOWER on IntegriCloud