summaryrefslogtreecommitdiffstats
path: root/libm
diff options
context:
space:
mode:
authorScott Turner <scotty@l5computing.com>2010-01-16 10:39:00 -0500
committerScott Turner <scotty@l5computing.com>2010-01-16 10:39:00 -0500
commit72d3489612b77d4544e500a2a2a1783914ee56b7 (patch)
tree31f7e68d0b146e77d8a17fd57d9e6a2f4dddba0c /libm
parent95604529ec25fe7923ba88312c590f38aa5e3d9e (diff)
downloadbionic-72d3489612b77d4544e500a2a2a1783914ee56b7.zip
bionic-72d3489612b77d4544e500a2a2a1783914ee56b7.tar.gz
bionic-72d3489612b77d4544e500a2a2a1783914ee56b7.tar.bz2
Reduce compiler anxiety.
Warning from compiler: target arm C: libm <= bionic/libm/src/e_atan2.c bionic/libm/src/e_atan2.c: In function 'atan2': bionic/libm/src/e_atan2.c:71: warning: suggest parentheses around arithmetic in operand of '|' target arm C: libm <= bionic/libm/src/e_atan2f.c
Diffstat (limited to 'libm')
-rw-r--r--libm/src/e_atan2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libm/src/e_atan2.c b/libm/src/e_atan2.c
index 073f81b..56c05a5 100644
--- a/libm/src/e_atan2.c
+++ b/libm/src/e_atan2.c
@@ -68,7 +68,7 @@ __ieee754_atan2(double y, double x)
if(((ix|((lx|-lx)>>31))>0x7ff00000)||
((iy|((ly|-ly)>>31))>0x7ff00000)) /* x or y is NaN */
return x+y;
- if((hx-0x3ff00000|lx)==0) return atan(y); /* x=1.0 */
+ if(((hx-0x3ff00000) | lx)==0) return atan(y); /* x=1.0 */
m = ((hy>>31)&1)|((hx>>30)&2); /* 2*sign(x)+sign(y) */
/* when y = 0 */