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

/freebsd-13-stable/lib/msun/src/
H A Ds_carg.c39 return (atan2(cimag(z), creal(z)));
H A Dcatrig.c113 * asin(B) = atan2(y, sqrt(A*A - y*y)) = atan2(y, sqrt((A+y)*(A-y)))
213 * would be legitimate, but will be picked up by invoking atan2
273 * Im(casinh(z)) = sign(x)*atan2(sign(x)*y, fabs(x)) + O(y/z^3)
329 ry = atan2(new_y, sqrt_A2my2);
354 * Re(cacos(z)) = atan2(fabs(y), x) + O(y/z^3)
418 rx = atan2(sqrt_A2mx2, new_x);
420 rx = atan2(sqrt_A2mx2, -new_x);
485 return (CMPLX(log(hypot(x / m_e, y / m_e)) + 1, atan2(y, x)));
492 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);
H A Dmath_private.h838 #define __ieee754_atan2 atan2
/freebsd-13-stable/lib/msun/tests/
H A Dinvtrig_test.c151 * Test special case inputs in atan2(), where the exact value of y/x is
160 testall2(atan2, 0.0, -0.0, pi, FE_INEXACT);
161 testall2(atan2, -0.0, -0.0, -pi, FE_INEXACT);
162 testall2(atan2, 0.0, 0.0, 0.0, 0);
163 testall2(atan2, -0.0, 0.0, -0.0, 0);
165 testall2(atan2, INFINITY, -INFINITY, c3pi / 4, FE_INEXACT);
166 testall2(atan2, -INFINITY, -INFINITY, -c3pi / 4, FE_INEXACT);
167 testall2(atan2, INFINITY, INFINITY, pi / 4, FE_INEXACT);
168 testall2(atan2, -INFINITY, INFINITY, -pi / 4, FE_INEXACT);
183 test2(atan2, 0.
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h39 __DEVICE__ double atan2(double, double);
40 __DEVICE__ float atan2(float, float);
203 using ::atan2;
H A D__clang_cuda_cmath.h48 __DEVICE__ float atan2(float __x, float __y) { return ::atan2f(__x, __y); } function
204 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2(double, atan2);
331 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);}
H A D__clang_cuda_math.h67 __DEVICE__ double atan2(double __a, double __b) { return __nv_atan2(__a, __b); } function
H A D__clang_hip_math.h567 inline double atan2(double __x, double __y) { function
1076 __DEF_FUN2(double, atan2);
H A Dopencl-c.h6713 float __ovld __cnfn atan2(float y, float x);
6714 float2 __ovld __cnfn atan2(float2 y, float2 x);
6715 float3 __ovld __cnfn atan2(float3 y, float3 x);
6716 float4 __ovld __cnfn atan2(float4 y, float4 x);
6717 float8 __ovld __cnfn atan2(float8 y, float8 x);
6718 float16 __ovld __cnfn atan2(float16 y, float16 x);
6720 double __ovld __cnfn atan2(double y, double x);
6721 double2 __ovld __cnfn atan2(double2 y, double2 x);
6722 double3 __ovld __cnfn atan2(double3 y, double3 x);
6723 double4 __ovld __cnfn atan2(double
[all...]
/freebsd-13-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-13-stable/include/
H A Dtgmath.h165 #define atan2(x, y) __tg_simple2(x, y, atan2) macro
/freebsd-13-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-13-stable/contrib/llvm-project/libcxx/include/
H A Dmath.h58 floating_point atan2 (arithmetic y, arithmetic x);
804 // atan2
807 inline _LIBCPP_INLINE_VISIBILITY float atan2(float __lcpp_y, float __lcpp_x) _NOEXCEPT {return ::atan2f(__lcpp_y, __lcpp_x);}
808 inline _LIBCPP_INLINE_VISIBILITY long double atan2(long double __lcpp_y, long double __lcpp_x) _NOEXCEPT {return ::atan2l(__lcpp_y, __lcpp_x);}
819 atan2(_A1 __lcpp_y, _A2 __lcpp_x) _NOEXCEPT
824 return ::atan2((__result_type)__lcpp_y, (__result_type)__lcpp_x);
/freebsd-13-stable/sys/tools/sound/
H A Dfeeder_eq_mkfilter.awk260 M_PI = atan2(0.0, -1.0);
H A Dfeeder_rate_mkfilter.awk616 M_PI = atan2(0.0, -1.0);
/freebsd-13-stable/contrib/lua/src/
H A Dlmathlib.c68 lua_pushnumber(L, l_mathop(atan2)(y, x));
727 {"atan2", math_atan},
/freebsd-13-stable/contrib/one-true-awk/
H A Drun.c1555 WARNING("atan2 requires two arguments; returning 1.0");
1559 u = atan2(getfval(x), getfval(y));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp1559 Name == "atan2" || Name == "atan2f";
2344 return ConstantFoldBinaryFP(atan2, Op1V, Op2V, Ty);

Completed in 307 milliseconds