summaryrefslogtreecommitdiff
path: root/libm/e_atan2.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-11-23 08:49:34 +0000
committerEric Andersen <andersen@codepoet.org>2001-11-23 08:49:34 +0000
commit648d5f450ee2f904916082d9eac2f230ecece314 (patch)
tree23f356e9a49d94933b1d84ed043ad5c29c222bf5 /libm/e_atan2.c
parent7ce331c01ce6eb7b3f5c715a38a24359da9c6ee2 (diff)
Default to building C89 math stuff only. Cleanup some warnings.
-Erik
Diffstat (limited to 'libm/e_atan2.c')
-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 920cfaf28..74151120c 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 */