summaryrefslogtreecommitdiff
path: root/libm
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-08-15 17:04:09 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-08-15 17:04:09 +0000
commit348d65d19db947cafadd0fe0e02d4b62e8d23a00 (patch)
tree60a55e504605bcae25743c03d072cdb9f787b7b3 /libm
parentbc46671a9bcacca1e2fab1dd6468e72d954230bf (diff)
Fix erroneous grouping.
Diffstat (limited to 'libm')
-rw-r--r--libm/e_atan2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libm/e_atan2.c b/libm/e_atan2.c
index 74151120c..2b5edeacf 100644
--- a/libm/e_atan2.c
+++ b/libm/e_atan2.c
@@ -74,7 +74,7 @@ pi_lo = 1.2246467991473531772E-16; /* 0x3CA1A626, 0x33145C07 */
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 */