| /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...] |
| /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/external/gpl3/gcc/dist/libstdc++-v3/src/c++98/ |
| math_stubs_float.cc | 69 return (float) atan2(x, y);
|
| math_stubs_long_double.cc | 69 return atan2((double) x, (double) y);
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++98/ |
| math_stubs_float.cc | 69 return (float) atan2(x, y);
|
| math_stubs_long_double.cc | 69 return atan2((double) x, (double) y);
|
| /src/external/apache2/llvm/dist/clang/lib/Headers/ |
| __clang_cuda_math_forward_declares.h | 39 __DEVICE__ double atan2(double, double); 40 __DEVICE__ float atan2(float, float); 206 using ::atan2;
|
| /src/external/gpl3/gcc.old/dist/libphobos/src/std/math/ |
| trigonometry.d | 9 D implementations of tan, atan, and atan2 functions are based on the 562 return atan2(sqrt(1-x*x), x); 606 return atan2(x, sqrt(1-x*x)); 916 real atan2(real y, real x) @trusted pure nothrow @nogc // TODO: @safe 928 double atan2(double y, double x) @safe pure nothrow @nogc 930 return __ctfe ? cast(double) atan2(cast(real) y, cast(real) x) : atan2Impl(y, x); 935 float atan2(float y, float x) @safe pure nothrow @nogc 937 return __ctfe ? cast(float) atan2(cast(real) y, cast(real) x) : atan2Impl(y, x); 947 assert(atan2(1.0, sqrt(3.0)).isClose(PI / 6)); 1037 assert(isNaN(atan2(nan, cast(T) 1))) [all...] |
| /src/external/gpl2/groff/dist/src/preproc/pic/ |
| common.cpp | 95 double psi = atan2(zml.y / dim.y, zml.x / dim.x); 110 double phi0 = atan2(z0.y - M.y, z0.x - M.x); 111 double phi1 = atan2(z1.y - M.y, z1.x - M.x); 176 double psi = atan2(zdot.y / dim_y, zdot.x / dim_x); 228 double psi = atan2(zdot.y / dim_y, zdot.x / dim_x); 263 double start_angle = atan2(start_offset.y, start_offset.x); 264 double end_angle = atan2(end_offset.y, end_offset.x); 294 double start_angle = atan2(start_offset.y, start_offset.x); 295 double total_angle = atan2(end_offset.y, end_offset.x) - start_angle;
|
| /src/games/trek/ |
| phaser.c | 228 b->angle = atan2(dy, dx); 330 anglefactor = atan2(dy, dx) - b->angle;
|
| /src/external/gpl3/gcc/dist/gcc/ |
| fp-test.cc | 46 extern double atan2 (double, double); 230 d1 = atan2 (d2, d3);
|
| /src/external/gpl3/gcc/dist/gcc/ginclude/ |
| tgmath.h | 80 #define atan2(x,y) __TGMATH_REAL_2(x, y, atan2) macro
|
| /src/external/gpl3/gcc.old/dist/gcc/ |
| fp-test.cc | 46 extern double atan2 (double, double); 230 d1 = atan2 (d2, d3);
|
| /src/external/gpl3/gcc.old/dist/gcc/ginclude/ |
| tgmath.h | 80 #define atan2(x,y) __TGMATH_REAL_2(x, y, atan2) macro
|
| /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
|