summaryrefslogtreecommitdiffstats
path: root/lib/msun/src/e_atan2.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msun/src/e_atan2.c')
-rw-r--r--lib/msun/src/e_atan2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/msun/src/e_atan2.c b/lib/msun/src/e_atan2.c
index 233d8b6..4da135c 100644
--- a/lib/msun/src/e_atan2.c
+++ b/lib/msun/src/e_atan2.c
@@ -11,7 +11,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: e_atan2.c,v 1.1.1.1 1994/08/19 09:39:43 jkh Exp $";
+static char rcsid[] = "$Id: e_atan2.c,v 1.2 1995/05/30 05:47:57 rgrimes Exp $";
#endif
/* __ieee754_atan2(y,x)
@@ -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 */
OpenPOWER on IntegriCloud