/freebsd-13-stable/lib/msun/src/ |
H A D | s_carg.c | 39 return (atan2(cimag(z), creal(z)));
|
H A D | catrig.c | 113 * 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 D | e_atan2.c | 20 * 1. Reduce y to positive by atan2(y,x)=-atan2(-y,x). 128 __weak_reference(atan2, atan2l);
|
H A D | s_clog.c | 55 v = atan2(y, x);
|
H A D | math.h | 240 double atan2(double, double);
|
H A D | math_private.h | 838 #define __ieee754_atan2 atan2
|
/freebsd-13-stable/lib/msun/tests/ |
H A D | invtrig_test.c | 151 * 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.h | 39 __DEVICE__ double atan2(double, double); 40 __DEVICE__ float atan2(float, float); 203 using ::atan2;
|
H A D | __clang_cuda_cmath.h | 48 __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 D | tgmath.h | 551 // 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.h | 67 __DEVICE__ double atan2(double __a, double __b) { return __nv_atan2(__a, __b); } function
|
H A D | __clang_hip_math.h | 567 inline double atan2(double __x, double __y) { function 1076 __DEF_FUN2(double, atan2);
|
H A D | opencl-c.h | 6713 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 D | Makefile | 155 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 D | tgmath.h | 165 #define atan2(x, y) __tg_simple2(x, y, atan2) macro
|
/freebsd-13-stable/tools/regression/include/tgmath/ |
H A D | tgmath.c | 104 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 D | math.h | 58 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 D | feeder_eq_mkfilter.awk | 260 M_PI = atan2(0.0, -1.0);
|
H A D | feeder_rate_mkfilter.awk | 616 M_PI = atan2(0.0, -1.0);
|
/freebsd-13-stable/contrib/lua/src/ |
H A D | lmathlib.c | 68 lua_pushnumber(L, l_mathop(atan2)(y, x)); 727 {"atan2", math_atan},
|
/freebsd-13-stable/contrib/one-true-awk/ |
H A D | run.c | 1555 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 D | ConstantFolding.cpp | 1559 Name == "atan2" || Name == "atan2f"; 2344 return ConstantFoldBinaryFP(atan2, Op1V, Op2V, Ty);
|