We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a844d58 + 787652b commit 4b4b41cCopy full SHA for 4b4b41c
1 file changed
src/e_atan2.c
@@ -71,7 +71,7 @@ __ieee754_atan2(double y, double x)
71
if(((ix|((lx|-lx)>>31))>0x7ff00000)||
72
((iy|((ly|-ly)>>31))>0x7ff00000)) /* x or y is NaN */
73
return x+y;
74
- if(((hx-0x3ff00000)|lx)==0) return atan(y); /* x=1.0 */
+ if(hx==0x3ff00000&&lx==0) return atan(y); /* x=1.0 */
75
m = ((hy>>31)&1)|((hx>>30)&2); /* 2*sign(x)+sign(y) */
76
77
/* when y = 0 */
0 commit comments