/src/lib/libm/complex/ |
carg.c | 16 return atan2(__imag__ z, __real__ z);
|
clog.c | 44 rr = atan2(cimag(z), creal(z));
|
catan.c | 61 t = 0.5 * atan2(2.0 * x, a);
|
catrig.c | 134 * asin(B) = atan2(y, sqrt(A*A - y*y)) = atan2(y, sqrt((A+y)*(A-y))) 234 * would be legitimate, but will be picked up by invoking atan2 294 * Im(casinh(z)) = sign(x)*atan2(sign(x)*y, fabs(x)) + O(y/z^3) 350 ry = atan2(new_y, sqrt_A2my2); 375 * Re(cacos(z)) = atan2(fabs(y), x) + O(y/z^3) 439 rx = atan2(sqrt_A2mx2, new_x); 441 rx = atan2(sqrt_A2mx2, -new_x); 501 return (CMPLX(log(hypot(x / m_e, y / m_e)) + 1, atan2(y, x))); 508 return (CMPLX(log(hypot(x, y)), atan2(y, x))) [all...] |
/src/lib/libm/noieee_src/ |
n_atan.c | 46 * atan2(y,x) 49 * atan(x) = atan2(x,1.0). 55 * 1) If atan2() uses machine PI, then 58 * and PI is the exact pi rounded to machine precision (see atan2 for 75 * 2) If atan2() uses true pi, then 95 return(atan2(x,one)); 102 return (float)atan2(x,one);
|
n_asincos.c | 50 * atan2(y,x) 53 * asin(x) = atan2(x,sqrt(1-x*x)); for better accuracy, 1-x*x is 63 * 1) If atan2() uses machine PI, then 66 * and PI is the exact pi rounded to machine precision (see atan2 for 83 * 2) If atan2() uses true pi, then 109 return(atan2(x,sqrt(one-x*x))); 111 { t=one-s; s=t+t; return(atan2(x,sqrt(s-t*t))); } 131 * atan2(y,x) 136 * acos(x) = 2*atan2( / -------- , 1 ) . 144 * 1) If atan2() uses machine PI, the [all...] |
n_atan2.c | 32 static char sccsid[] = "@(#)atan2.c 8.1 (Berkeley) 6/4/93"; 35 /* ATAN2(Y,X) 47 * 1. Reduce y to positive by atan2(y,x)=-atan2(-y,x). 62 * Notations: atan2(y,x) == ARG (x+iy) == ARG(x,y). 76 * atan2(y,x) returns (PI/pi) * the exact ARG (x+iy) nearly rounded, 174 __weak_alias(_atan2l, atan2); 178 atan2(double y, double x) function in typeref:typename:double
|
/src/lib/libm/src/ |
w_atan2.c | 19 * wrapper atan2(y,x) 27 __weak_alias(atan2, _atan2) 31 atan2(double y, double x) /* wrapper atan2 */ 40 return __kernel_standard(y,x,3); /* atan2(+-0,+-0) */
|
e_atan2l.c | 147 return atan2(y, x);
|
namespace.h | 12 #define atan2 _atan2 macro
|
/src/games/atc/ |
def.h | 58 #define DIR_FROM_DXDY(dx,dy) ((int) (atan2((double)(dy), (double)(dx)) \
|
/src/games/trek/ |
phaser.c | 228 b->angle = atan2(dy, dx); 330 anglefactor = atan2(dy, dx) - b->angle;
|
computer.c | 329 angle = atan2(dy, dx);
|
/src/tests/lib/lua/libm/ |
h_lualibm.c | 36 TEST(atan2(M_SQRT2, M_SQRT2));
|
lualibm.lua | 42 test("atan2(M_SQRT2, M_SQRT2)", lm.atan2(lm.M_SQRT2, lm.M_SQRT2))
|
/src/lib/libm/arch/vax/ |
n_atan2.S | 30 * @(#)atan2.s 8.1 (Berkeley) 6/4/93 36 * ATAN2(Y,X) 43 * 1. Reduce y to positive by atan2(y,x)=-atan2(-y,x). 58 * Notations: atan2(y,x) == ARG (x+iy) == ARG(x,y). 72 * atan2(y,x) returns the exact ARG(x+iy) nearly rounded. 84 WEAK_ALIAS(atan2, _atan2) 113 jgeq pio2 # atan2 = +-pi/2
|
/src/include/ |
tgmath.h | 149 #define atan2(a,b) __TG_FN2(atan2, (a), (b)) macro
|
math.h | 241 double atan2(double, double);
|
/src/lib/lua/libm/ |
libm.c | 113 DFUNC_DBL_DBL(atan2) 249 { "atan2", libm_atan2 },
|
/src/usr.bin/xlint/llib/ |
llib-lstdc | 99 double (atan2)(double y, double x);
|
llib-lposix | 75 double (atan2)(double y, double x);
|
/src/lib/libm/ |
Makefile | 446 MAN+= acos.3 acosh.3 asin.3 asinh.3 atan.3 atan2.3 atanh.3 \ 474 MLINKS+=atan2.3 atan2f.3
|
/src/games/warp/ |
score.c | 399 atan2(power, (double) timer + 1.0) / pi_over_2;
|