Searched refs:atan2 (Results 1 - 25 of 41) sorted by relevance

12

/freebsd-11-stable/lib/msun/src/
H A Ds_carg.c37 return (atan2(cimag(z), creal(z)));
H A Dcatrig.c111 * asin(B) = atan2(y, sqrt(A*A - y*y)) = atan2(y, sqrt((A+y)*(A-y)))
211 * would be legitimate, but will be picked up by invoking atan2
271 * Im(casinh(z)) = sign(x)*atan2(sign(x)*y, fabs(x)) + O(y/z^3)
327 ry = atan2(new_y, sqrt_A2my2);
352 * Re(cacos(z)) = atan2(fabs(y), x) + O(y/z^3)
416 rx = atan2(sqrt_A2mx2, new_x);
418 rx = atan2(sqrt_A2mx2, -new_x);
483 return (CMPLX(log(hypot(x / m_e, y / m_e)) + 1, atan2(y, x)));
490 return (CMPLX(log(hypot(x, y)), atan2(
[all...]
H A De_atan2.c20 * 1. Reduce y to positive by atan2(y,x)=-atan2(-y,x).
128 __weak_reference(atan2, atan2l);
H A Ds_clog.c55 v = atan2(y, x);
H A Dmath.h240 double atan2(double, double);
/freebsd-11-stable/lib/msun/tests/
H A Dinvtrig_test.c150 * Test special case inputs in atan2(), where the exact value of y/x is
159 testall2(atan2, 0.0, -0.0, pi, FE_INEXACT);
160 testall2(atan2, -0.0, -0.0, -pi, FE_INEXACT);
161 testall2(atan2, 0.0, 0.0, 0.0, 0);
162 testall2(atan2, -0.0, 0.0, -0.0, 0);
164 testall2(atan2, INFINITY, -INFINITY, c3pi / 4, FE_INEXACT);
165 testall2(atan2, -INFINITY, -INFINITY, -c3pi / 4, FE_INEXACT);
166 testall2(atan2, INFINITY, INFINITY, pi / 4, FE_INEXACT);
167 testall2(atan2, -INFINITY, INFINITY, -pi / 4, FE_INEXACT);
182 test2(atan2, 0.
[all...]
/freebsd-11-stable/contrib/libstdc++/include/c_compatibility/
H A Dmath.h39 using std::atan2;
/freebsd-11-stable/contrib/libstdc++/libmath/
H A Dstubs.c109 return (float) atan2(x, y);
117 return atan2((double) x, (double) y);
/freebsd-11-stable/contrib/libstdc++/include/c/
H A Dstd_cmath.h49 #undef atan2 macro
/freebsd-11-stable/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h62 __DEVICE__ double atan2(double, double);
63 __DEVICE__ float atan2(float, float);
229 using ::atan2;
H A D__clang_cuda_cmath.h62 __DEVICE__ float atan2(float __x, float __y) { return ::atan2f(__x, __y); } function
217 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2(double, atan2);
344 using ::atan2;
H A Dtgmath.h551 // atan2
559 __tg_atan2(double __x, double __y) {return atan2(__x, __y);}
565 #undef atan2 macro
566 #define atan2(__x, __y) __tg_atan2(__tg_promote2((__x), (__y))(__x), \ macro
1226 __tg_carg(double __x) {return atan2(0., __x);}
/freebsd-11-stable/lib/msun/
H A DMakefile155 MAN= acos.3 acosh.3 asin.3 asinh.3 atan.3 atan2.3 atanh.3 \
174 MLINKS+=atan2.3 atan2f.3 atan2.3 atan2l.3 \
175 atan2.3 carg.3 atan2.3 cargf.3 atan2.3 cargl.3
/freebsd-11-stable/contrib/libstdc++/include/tr1/
H A Dmath.h46 using std::tr1::atan2;
/freebsd-11-stable/contrib/groff/src/preproc/pic/
H A Dcommon.cpp93 double psi = atan2(zml.y / dim.y, zml.x / dim.x);
108 double phi0 = atan2(z0.y - M.y, z0.x - M.x);
109 double phi1 = atan2(z1.y - M.y, z1.x - M.x);
174 double psi = atan2(zdot.y / dim_y, zdot.x / dim_x);
226 double psi = atan2(zdot.y / dim_y, zdot.x / dim_x);
261 double start_angle = atan2(start_offset.y, start_offset.x);
262 double end_angle = atan2(end_offset.y, end_offset.x);
292 double start_angle = atan2(start_offset.y, start_offset.x);
293 double total_angle = atan2(end_offset.y, end_offset.x) - start_angle;
H A Dtex.cpp277 atan2(start.y - c.y, start.x - c.x),
278 atan2(end.y - c.y, end.x - c.x),
H A Dobject.cpp644 angle = atan2(d.y, d.x);
1698 double start_quad = atan2(start_offset.y, start_offset.x)/(M_PI/2.0);
1699 double end_quad = atan2(end_offset.y, end_offset.x)/(M_PI/2.0);
1782 double theta = atan2(h.y, h.x);
/freebsd-11-stable/contrib/gcc/
H A Dfp-test.c47 extern double atan2 (double, double);
231 d1 = atan2 (d2, d3);
/freebsd-11-stable/contrib/libstdc++/include/c_std/
H A Dstd_cmath.h62 #undef atan2 macro
148 using ::atan2;
151 atan2(float __y, float __x) function
155 atan2(long double __y, long double __x) function
162 atan2(_Tp __y, _Up __x) function
/freebsd-11-stable/contrib/groff/src/devices/grolj4/
H A Dlj4.cpp495 double sweep = ((atan2(p[1] + p[3] - c[1], p[0] + p[2] - c[0])
496 - atan2(-c[1], -c[0]))
/freebsd-11-stable/include/
H A Dtgmath.h163 #define atan2(x, y) __tg_simple2(x, y, atan2) macro
/freebsd-11-stable/tools/regression/include/tgmath/
H A Dtgmath.c104 TGMACRO_REAL_REAL(atan2)
478 PRINT("atan2",
479 PASS_REAL_REAL_ARG_REAL_RET(atan2));
/freebsd-11-stable/contrib/libstdc++/src/
H A Dcompatibility.cc423 _GLIBCXX_MATHL_WRAPPER2 (atan2, GLIBCXX_3.4);
/freebsd-11-stable/contrib/lua/src/
H A Dlmathlib.c78 lua_pushnumber(L, l_mathop(atan2)(y, x));
377 {"atan2", math_atan},
/freebsd-11-stable/sys/tools/sound/
H A Dfeeder_eq_mkfilter.awk258 M_PI = atan2(0.0, -1.0);

Completed in 181 milliseconds

12