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

12

/freebsd-current/lib/msun/src/
H A Ds_carg.c36 return (atan2(cimag(z), creal(z)));
H A De_atan2.c14 /* atan2(y,x)
16 * 1. Reduce y to positive by atan2(y,x)=-atan2(-y,x).
57 atan2(double y, double x) function
124 __weak_reference(atan2, atan2l);
H A Dcatrig.c110 * asin(B) = atan2(y, sqrt(A*A - y*y)) = atan2(y, sqrt((A+y)*(A-y)))
210 * would be legitimate, but will be picked up by invoking atan2
270 * Im(casinh(z)) = sign(x)*atan2(sign(x)*y, fabs(x)) + O(y/z^3)
326 ry = atan2(new_y, sqrt_A2my2);
351 * Re(cacos(z)) = atan2(fabs(y), x) + O(y/z^3)
415 rx = atan2(sqrt_A2mx2, new_x);
417 rx = atan2(sqrt_A2mx2, -new_x);
482 return (CMPLX(log(hypot(x / m_e, y / m_e)) + 1, atan2(y, x)));
489 return (CMPLX(log(hypot(x, y)), atan2(
[all...]
H A Ds_clog.c52 v = atan2(y, x);
H A Dmath.h244 double atan2(double, double);
/freebsd-current/contrib/arm-optimized-routines/pl/math/
H A Datan2_2u5.c2 * Double-precision scalar atan2(x) function.
21 /* We calculate atan2 by P(n/d), where n and d are similar to the input
35 /* Fast implementation of scalar atan2. Largest errors are when y and x are
37 atan2(-0x1.5915b1498e82fp+732, 0x1.54d11ef838826p+732)
40 atan2 (double y, double x) function
153 PL_SIG (S, D, 2, atan2)
154 PL_TEST_ULP (atan2, 1.78)
155 PL_TEST_INTERVAL (atan2, -10.0, 10.0, 50000)
156 PL_TEST_INTERVAL (atan2, -1.0, 1.0, 40000)
157 PL_TEST_INTERVAL (atan2, 0.
[all...]
H A Dv_atan2_3u.c2 * Double-precision vector atan2(x) function.
39 return v_call2_f64 (atan2, y, x, ret, cmp);
51 /* Fast implementation of vector atan2.
56 float64x2_t VPCS_ATTR V_NAME_D2 (atan2) (float64x2_t y, float64x2_t x) function
114 PL_SIG (V, D, 2, atan2)
116 PL_TEST_ULP (V_NAME_D2 (atan2), 2.9)
117 PL_TEST_INTERVAL (V_NAME_D2 (atan2), -10.0, 10.0, 50000)
118 PL_TEST_INTERVAL (V_NAME_D2 (atan2), -1.0, 1.0, 40000)
119 PL_TEST_INTERVAL (V_NAME_D2 (atan2), 0.0, 1.0, 40000)
120 PL_TEST_INTERVAL (V_NAME_D2 (atan2), 1.
[all...]
H A Dv_atan2f_3u.c2 * Single-precision vector atan2(x) function.
49 float32x4_t VPCS_ATTR V_NAME_F2 (atan2) (float32x4_t y, float32x4_t x) function
109 PL_SIG (V, F, 2, atan2)
110 PL_TEST_ULP (V_NAME_F2 (atan2), 2.46)
111 PL_TEST_INTERVAL (V_NAME_F2 (atan2), -10.0, 10.0, 50000)
112 PL_TEST_INTERVAL (V_NAME_F2 (atan2), -1.0, 1.0, 40000)
113 PL_TEST_INTERVAL (V_NAME_F2 (atan2), 0.0, 1.0, 40000)
114 PL_TEST_INTERVAL (V_NAME_F2 (atan2), 1.0, 100.0, 40000)
115 PL_TEST_INTERVAL (V_NAME_F2 (atan2), 1e6, 1e32, 40000)
H A Dsv_atan2_2u5.c2 * Double-precision vector atan2(x) function.
38 return sv_call2_f64 (atan2, y, x, ret, cmp);
50 /* Fast implementation of SVE atan2. Errors are greatest when y and
54 svfloat64_t SV_NAME_D2 (atan2) (svfloat64_t y, svfloat64_t x, const svbool_t pg) function
111 PL_SIG (SV, D, 2, atan2)
112 PL_TEST_ULP (SV_NAME_D2 (atan2), 1.78)
113 PL_TEST_INTERVAL (SV_NAME_D2 (atan2), 0.0, 1.0, 40000)
114 PL_TEST_INTERVAL (SV_NAME_D2 (atan2), 1.0, 100.0, 40000)
115 PL_TEST_INTERVAL (SV_NAME_D2 (atan2), 100, inf, 40000)
116 PL_TEST_INTERVAL (SV_NAME_D2 (atan2),
[all...]
H A Dsv_atan2f_3u.c49 svfloat32_t SV_NAME_F2 (atan2) (svfloat32_t y, svfloat32_t x, const svbool_t pg) function
103 PL_SIG (SV, F, 2, atan2)
104 PL_TEST_ULP (SV_NAME_F2 (atan2), 2.45)
105 PL_TEST_INTERVAL (SV_NAME_F2 (atan2), 0.0, 1.0, 40000)
106 PL_TEST_INTERVAL (SV_NAME_F2 (atan2), 1.0, 100.0, 40000)
107 PL_TEST_INTERVAL (SV_NAME_F2 (atan2), 100, inf, 40000)
108 PL_TEST_INTERVAL (SV_NAME_F2 (atan2), -0, -inf, 40000)
H A Datan2f_3u.c2 * Single-precision scalar atan2(x) function.
161 PL_SIG (S, F, 2, atan2)
/freebsd-current/lib/msun/tests/
H A Dinvtrig_test.c149 * Test special case inputs in atan2(), where the exact value of y/x is
158 testall2(atan2, 0.0, -0.0, pi, FE_INEXACT);
159 testall2(atan2, -0.0, -0.0, -pi, FE_INEXACT);
160 testall2(atan2, 0.0, 0.0, 0.0, 0);
161 testall2(atan2, -0.0, 0.0, -0.0, 0);
163 testall2(atan2, INFINITY, -INFINITY, c3pi / 4, FE_INEXACT);
164 testall2(atan2, -INFINITY, -INFINITY, -c3pi / 4, FE_INEXACT);
165 testall2(atan2, INFINITY, INFINITY, pi / 4, FE_INEXACT);
166 testall2(atan2, -INFINITY, INFINITY, -pi / 4, FE_INEXACT);
181 test2(atan2, 0.
[all...]
/freebsd-current/contrib/llvm-project/libcxx/include/__math/
H A Dinverse_trigonometric_functions.h75 // atan2
77 inline _LIBCPP_HIDE_FROM_ABI float atan2(float __y, float __x) _NOEXCEPT { return __builtin_atan2f(__y, __x); }
80 _LIBCPP_HIDE_FROM_ABI double atan2(double __x, double __y) _NOEXCEPT {
84 inline _LIBCPP_HIDE_FROM_ABI long double atan2(long double __y, long double __x) _NOEXCEPT {
89 inline _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2>::type atan2(_A1 __y, _A2 __x) _NOEXCEPT {
92 return __math::atan2((__result_type)__y, (__result_type)__x);
/freebsd-current/contrib/arm-optimized-routines/pl/math/test/
H A Drunulp.sh45 if [ "$FUNC" == "atan2" ] || [ -z "$FUNC" ]; then
46 # Regression-test for correct NaN handling in atan2
47 check atan2 0x1p-1022 0x1p-1000 x 0 0x1p-1022 40000
48 check atan2 0x1.7887a0a717aefp+1017 0x1.7887a0a717aefp+1017 x -nan -nan
49 check atan2 nan nan x -nan -nan
H A Dmathbench_wrappers.h11 return atan2 (5.0, x);
/freebsd-current/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);
206 using ::atan2;
H A D__clang_cuda_cmath.h48 __DEVICE__ float atan2(float __x, float __y) { return ::atan2f(__x, __y); } function
246 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2(double, atan2);
373 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_hip_cmath.h210 __DEF_FUN2(float, atan2)
486 __HIP_OVERLOAD2(double, atan2)
656 using ::atan2;
/freebsd-current/lib/msun/
H A DMakefile172 MAN= acos.3 acosh.3 asin.3 asinh.3 atan.3 atan2.3 atanh.3 \
192 MLINKS+=atan2.3 atan2f.3 atan2.3 atan2l.3 \
193 atan2.3 carg.3 atan2.3 cargf.3 atan2.3 cargl.3
/freebsd-current/contrib/llvm-project/clang/lib/Headers/openmp_wrappers/
H A Dcomplex_cmath.h41 return atan2(__c.imag(), __c.real());
48 return atan2(0., __re);
175 const _Tp __pi(atan2(+0., -0.));
203 const _Tp __pi(atan2(+0., -0.));
236 const _Tp __pi(atan2(+0., -0.));
326 const _Tp __pi(atan2(+0., -0.));
/freebsd-current/include/
H A Dtgmath.h163 #define atan2(x, y) __tg_simple2(x, y, atan2) macro
/freebsd-current/contrib/llvm-project/libcxx/include/
H A Dmath.h58 floating_point atan2 (arithmetic y, arithmetic x);
449 using std::__math::atan2;
/freebsd-current/tools/regression/include/tgmath/
H A Dtgmath.c102 TGMACRO_REAL_REAL(atan2)
476 PRINT("atan2",
477 PASS_REAL_REAL_ARG_REAL_RET(atan2));
/freebsd-current/contrib/arm-optimized-routines/pl/math/include/
H A Dmathlib.h38 double atan2 (double, double);

Completed in 227 milliseconds

12