summaryrefslogtreecommitdiff
path: root/libm/e_asin.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-05-09 03:51:24 +0000
committerEric Andersen <andersen@codepoet.org>2002-05-09 03:51:24 +0000
commit5a25d0f3bc0c9ac81c43b05646575744e93d126c (patch)
tree215d1b22c4023b21dc8a44379b60ab66282126f7 /libm/e_asin.c
parentf76191d591b53ecd4af55f429e35bfe8e0246401 (diff)
Add missing braces
Diffstat (limited to 'libm/e_asin.c')
-rw-r--r--libm/e_asin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libm/e_asin.c b/libm/e_asin.c
index b62a1c991..46b93d8c0 100644
--- a/libm/e_asin.c
+++ b/libm/e_asin.c
@@ -91,12 +91,13 @@ qS4 = 7.70381505559019352791e-02; /* 0x3FB3B8C5, 0xB12E9282 */
} 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
+ } 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;
+ }
}
/* 1> |x|>= 0.5 */
w = one-fabs(x);