/freebsd/contrib/arm-optimized-routines/math/test/testcases/directed/ |
H A D | atan2.tst | 1 ; atan2.tst 6 func=atan2 op1=7ff00000.00000001 op2=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i 7 func=atan2 op1=7ff00000.00000001 op2=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i 8 func=atan2 op1=7ff00000.00000001 op2=7ff00000.00000000 result=7ff80000.00000001 errno=0 status=i 9 func=atan2 op1=7ff00000.00000001 op2=fff00000.00000000 result=7ff80000.00000001 errno=0 status=i 10 func=atan2 op1=7ff00000.00000001 op2=00000000.00000000 result=7ff80000.00000001 errno=0 status=i 11 func=atan2 op1=7ff00000.00000001 op2=80000000.00000000 result=7ff80000.00000001 errno=0 status=i 12 func=atan2 op1=7ff00000.00000001 op2=3ff00000.00000000 result=7ff80000.00000001 errno=0 status=i 13 func=atan2 op1=7ff00000.00000001 op2=bff00000.00000000 result=7ff80000.00000001 errno=0 status=i 14 func=atan2 op1=fff00000.00000001 op2=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i [all …]
|
/freebsd/lib/msun/tests/ |
H A D | invtrig_test.c | 158 testall2(atan2, 0.0, -0.0, pi, FE_INEXACT); in ATF_TC_BODY() 159 testall2(atan2, -0.0, -0.0, -pi, FE_INEXACT); in ATF_TC_BODY() 160 testall2(atan2, 0.0, 0.0, 0.0, 0); in ATF_TC_BODY() 161 testall2(atan2, -0.0, 0.0, -0.0, 0); in ATF_TC_BODY() 163 testall2(atan2, INFINITY, -INFINITY, c3pi / 4, FE_INEXACT); in ATF_TC_BODY() 164 testall2(atan2, -INFINITY, -INFINITY, -c3pi / 4, FE_INEXACT); in ATF_TC_BODY() 165 testall2(atan2, INFINITY, INFINITY, pi / 4, FE_INEXACT); in ATF_TC_BODY() 166 testall2(atan2, -INFINITY, INFINITY, -pi / 4, FE_INEXACT); in ATF_TC_BODY() 181 test2(atan2, 0.0, ldexp(z, e), 0.0, 0); in ATF_TC_BODY() 182 test2(atan2, -0.0, ldexp(z, e), -0.0, 0); in ATF_TC_BODY() [all …]
|
/freebsd/contrib/arm-optimized-routines/math/aarch64/experimental/ |
H A D | atan2_2u5.c | 40 atan2 (double y, double x) in atan2() function 153 TEST_SIG (S, D, 2, atan2) 154 TEST_ULP (atan2, 1.78) 155 TEST_INTERVAL (atan2, -10.0, 10.0, 50000) 156 TEST_INTERVAL (atan2, -1.0, 1.0, 40000) 157 TEST_INTERVAL (atan2, 0.0, 1.0, 40000) 158 TEST_INTERVAL (atan2, 1.0, 100.0, 40000) 159 TEST_INTERVAL (atan2, 1e6, 1e32, 40000)
|
H A D | atan2f_3u.c | 161 TEST_SIG (S, F, 2, atan2)
|
/freebsd/contrib/arm-optimized-routines/math/aarch64/advsimd/ |
H A D | atan2f.c | 53 float32x4_t VPCS_ATTR NOINLINE V_NAME_F2 (atan2) (float32x4_t y, float32x4_t x) in V_NAME_F2() argument 117 HALF_WIDTH_ALIAS_F2 (atan2) 120 TEST_SIG (V, F, 2, atan2) 121 TEST_DISABLE_FENV (V_NAME_F2 (atan2)) 122 TEST_ULP (V_NAME_F2 (atan2), 2.46) 123 TEST_INTERVAL (V_NAME_F2 (atan2), -10.0, 10.0, 50000) 124 TEST_INTERVAL (V_NAME_F2 (atan2), -1.0, 1.0, 40000) 125 TEST_INTERVAL (V_NAME_F2 (atan2), 0.0, 1.0, 40000) 126 TEST_INTERVAL (V_NAME_F2 (atan2), 1.0, 100.0, 40000) 127 TEST_INTERVAL (V_NAME_F2 (atan2), 1e6, 1e32, 40000)
|
H A D | atan2.c | 56 return v_call2_f64 (atan2, y, x, ret, cmp); in special_case() 72 float64x2_t VPCS_ATTR V_NAME_D2 (atan2) (float64x2_t y, float64x2_t x) in V_NAME_D2() argument 163 TEST_SIG (V, D, 2, atan2) 165 TEST_ULP (V_NAME_D2 (atan2), 2.9) 166 TEST_DISABLE_FENV (V_NAME_D2 (atan2)) 167 TEST_INTERVAL (V_NAME_D2 (atan2), -10.0, 10.0, 50000) 168 TEST_INTERVAL (V_NAME_D2 (atan2), -1.0, 1.0, 40000) 169 TEST_INTERVAL (V_NAME_D2 (atan2), 0.0, 1.0, 40000) 170 TEST_INTERVAL (V_NAME_D2 (atan2), 1.0, 100.0, 40000) 171 TEST_INTERVAL (V_NAME_D2 (atan2), 1e6, 1e32, 40000)
|
/freebsd/contrib/arm-optimized-routines/math/aarch64/sve/ |
H A D | atan2.c | 35 return sv_call2_f64 (atan2, y, x, ret, cmp); in special_case() 51 svfloat64_t SV_NAME_D2 (atan2) (svfloat64_t y, svfloat64_t x, in SV_NAME_D2() argument 111 TEST_SIG (SV, D, 2, atan2) 112 TEST_ULP (SV_NAME_D2 (atan2), 1.78) 113 TEST_DISABLE_FENV (SV_NAME_D2 (atan2)) 114 TEST_INTERVAL (SV_NAME_D2 (atan2), 0.0, 1.0, 40000) 115 TEST_INTERVAL (SV_NAME_D2 (atan2), 1.0, 100.0, 40000) 116 TEST_INTERVAL (SV_NAME_D2 (atan2), 100, inf, 40000) 117 TEST_INTERVAL (SV_NAME_D2 (atan2), -0, -inf, 40000)
|
H A D | atan2f.c | 47 svfloat32_t SV_NAME_F2 (atan2) (svfloat32_t y, svfloat32_t x, in SV_NAME_F2() argument 106 TEST_SIG (SV, F, 2, atan2) 107 TEST_ULP (SV_NAME_F2 (atan2), 2.45) 108 TEST_DISABLE_FENV (SV_NAME_F2 (atan2)) 109 TEST_INTERVAL (SV_NAME_F2 (atan2), 0.0, 1.0, 40000) 110 TEST_INTERVAL (SV_NAME_F2 (atan2), 1.0, 100.0, 40000) 111 TEST_INTERVAL (SV_NAME_F2 (atan2), 100, inf, 40000) 112 TEST_INTERVAL (SV_NAME_F2 (atan2), -0, -inf, 40000)
|
/freebsd/contrib/llvm-project/libcxx/include/__math/ |
H A D | inverse_trigonometric_functions.h | 77 inline _LIBCPP_HIDE_FROM_ABI float atan2(float __y, float __x) _NOEXCEPT { return __builtin_atan2f(… in atan2() function 80 _LIBCPP_HIDE_FROM_ABI double atan2(double __x, double __y) _NOEXCEPT { in atan2() function 84 inline _LIBCPP_HIDE_FROM_ABI long double atan2(long double __y, long double __x) _NOEXCEPT { in atan2() function 89 inline _LIBCPP_HIDE_FROM_ABI typename __promote<_A1, _A2>::type atan2(_A1 __y, _A2 __x) _NOEXCEPT { in atan2() function 92 return __math::atan2((__result_type)__y, (__result_type)__x); in atan2()
|
/freebsd/lib/msun/src/ |
H A D | catrig.c | 326 ry = atan2(new_y, sqrt_A2my2); in casinh() 415 rx = atan2(sqrt_A2mx2, new_x); in cacos() 417 rx = atan2(sqrt_A2mx2, -new_x); in cacos() 482 return (CMPLX(log(hypot(x / m_e, y / m_e)) + 1, atan2(y, x))); in clog_for_large_values() 489 return (CMPLX(log(hypot(x, y)), atan2(y, x))); in clog_for_large_values() 491 return (CMPLX(log(ax * ax + ay * ay) / 2, atan2(y, x))); in clog_for_large_values() 624 ry = atan2(2, -ay) / 2; in catanh() 626 ry = atan2(2 * ay, (1 - ax) * (1 + ax)) / 2; in catanh() 628 ry = atan2(2 * ay, (1 - ax) * (1 + ax) - ay * ay) / 2; in catanh()
|
H A D | e_atan2.c | 57 atan2(double y, double x) in atan2() function 124 __weak_reference(atan2, atan2l);
|
H A D | s_carg.c | 36 return (atan2(cimag(z), creal(z))); in carg()
|
H A D | s_clog.c | 52 v = atan2(y, x); in clog()
|
/freebsd/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); 206 using ::atan2;
|
H A D | __clang_cuda_cmath.h | 48 __DEVICE__ float atan2(float __x, float __y) { return ::atan2f(__x, __y); } in atan2() function 246 __CUDA_CLANG_FN_INTEGER_OVERLOAD_2(double, atan2); 373 using ::atan2;
|
H A D | tgmath.h | 559 __tg_atan2(double __x, double __y) {return atan2(__x, __y);} in __tg_atan2() 565 #undef atan2 566 #define atan2(__x, __y) __tg_atan2(__tg_promote2((__x), (__y))(__x), \ macro 1226 __tg_carg(double __x) {return atan2(0., __x);} in __tg_carg()
|
/freebsd/lib/msun/ |
H A D | Makefile | 172 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
|
H A D | Symbol.map | 14 atan2;
|
/freebsd/contrib/llvm-project/clang/lib/Headers/openmp_wrappers/ |
H A D | complex_cmath.h | 41 return atan2(__c.imag(), __c.real()); in arg() 48 return atan2(0., __re); in arg() 175 const _Tp __pi(atan2(+0., -0.)); in asinh() 203 const _Tp __pi(atan2(+0., -0.)); in acosh() 236 const _Tp __pi(atan2(+0., -0.)); in atanh() 326 const _Tp __pi(atan2(+0., -0.)); in acos()
|
/freebsd/contrib/arm-optimized-routines/math/tools/ |
H A D | atan.sollya | 1 // polynomial for approximating atan(x) and atan2(y, x)
|
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | valarray.cppm |
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | T.gawk | 197 atan2(1, 1) = 0.785398' >foo1 206 printf "atan2(1, 1) = %f\n", atan2(1, 1)
|
H A D | T.builtin | 10 pi = 2 * atan2(1, 0)
|
/freebsd/include/ |
H A D | tgmath.h | 163 #define atan2(x, y) __tg_simple2(x, y, atan2) macro
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ScalarFuncs.def | 41 TLI_DEFINE_SCALAR_MASS_FUNC("atan2", "__xl_atan2")
|