/freebsd-12-stable/contrib/netbsd-tests/lib/libm/ |
H A D | t_atan.c | 56 * atan(3) 58 ATF_LIBM_TEST(atan_nan, "Test atan/atanf(NaN) == NaN") 61 T_LIBM_CHECK_NAN(0, atan, T_LIBM_NAN); 68 ATF_LIBM_TEST(atan_inrange, "Test atan/atanf(x) for some values") 73 T_LIBM_CHECK(i, atan, values[i].x, values[i].y, 1.0e-15); 78 ATF_LIBM_TEST(atan_zero_neg, "Test atan/atanf(-0.0) == -0.0") 81 T_LIBM_CHECK_MINUS_ZERO(0, atan, -0.0); 85 ATF_LIBM_TEST(atan_zero_pos, "Test atan/atanf(+0.0) == +0.0") 88 T_LIBM_CHECK_PLUS_ZERO(0, atan, +0.0);
|
/freebsd-12-stable/lib/msun/tests/ |
H A D | invtrig_test.c | 123 * Test special case inputs in asin(), acos() and atan(): signed 132 testall(atan, 0.0, 0.0, 0); 135 testall(atan, -0.0, -0.0, 0); 139 testall(atan, INFINITY, pi / 2, FE_INEXACT); 142 testall(atan, -INFINITY, -pi / 2, FE_INEXACT); 146 testall(atan, NAN, NAN, 0); 236 * Test various inputs to asin(), acos() and atan() and verify that the 246 testall(atan, 1.0, pi / 4, FE_INEXACT); 249 testall(atan, -1.0, -pi / 4, FE_INEXACT); 264 testall_tol(atan, sqrt [all...] |
H A D | invctrig_test.c | 304 testall_tol(catan, z, CMPLXL(atan(nums[i]), 0), 1); 317 * atan(z) = atan(4)/2 + i ln(17/9)/4
|
/freebsd-12-stable/lib/msun/src/ |
H A D | e_atan2.c | 74 if(hx==0x3ff00000&&lx==0) return atan(y); /* x=1.0 */ 81 case 1: return y; /* atan(+-0,+anything)=+-0 */ 82 case 2: return pi+tiny;/* atan(+0,-anything) = pi */ 83 case 3: return -pi-tiny;/* atan(-0,-anything) =-pi */ 93 case 0: return pi_o_4+tiny;/* atan(+INF,+INF) */ 94 case 1: return -pi_o_4-tiny;/* atan(-INF,+INF) */ 95 case 2: return 3.0*pi_o_4+tiny;/*atan(+INF,-INF)*/ 96 case 3: return -3.0*pi_o_4-tiny;/*atan(-INF,-INF)*/ 100 case 0: return zero ; /* atan(+...,+INF) */ 101 case 1: return -zero ; /* atan( [all...] |
H A D | s_atan.c | 16 /* atan(x) 18 * 1. Reduce x to positive by atan(x) = -atan(-x). 23 * [0,7/16] atan(x) = t-t^3*(a1+t^2*(a2+...(a10+t^2*a11)...) 24 * [7/16,11/16] atan(x) = atan(1/2) + atan( (t-0.5)/(1+t/2) ) 25 * [11/16.19/16] atan(x) = atan( 1 ) + atan( ( 74 atan(double x) function [all...] |
H A D | math.h | 239 double atan(double);
|
H A D | catrig.c | 587 /* To ensure the same accuracy as atan(), and to filter out z = 0. */ 589 return (CMPLX(x, atan(y)));
|
/freebsd-12-stable/contrib/libstdc++/include/c_compatibility/ |
H A D | math.h | 38 using std::atan;
|
/freebsd-12-stable/contrib/libstdc++/libmath/ |
H A D | stubs.c | 92 return (float) atan(x); 100 return atan ((double) x);
|
/freebsd-12-stable/contrib/libstdc++/include/c/ |
H A D | std_cmath.h | 48 #undef atan macro
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Headers/ |
H A D | __clang_cuda_math_forward_declares.h | 64 __DEVICE__ double atan(double); 65 __DEVICE__ float atan(float); 228 using ::atan;
|
H A D | __clang_cuda_cmath.h | 61 __DEVICE__ float atan(float __x) { return ::atanf(__x); } function 216 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, atan) 343 using ::atan;
|
H A D | tgmath.h | 114 // atan 122 __tg_atan(double __x) {return atan(__x);} 140 #undef atan macro 141 #define atan(__x) __tg_atan(__tg_promote1((__x))(__x)) macro
|
/freebsd-12-stable/contrib/ntp/clockstuff/ |
H A D | propdelay.c | 62 extern double atan (double); 416 delta = atan((h / (EARTHRADIUS * sin(theta))) + tan(theta/2)) - theta; 439 phi = (PI/2.0) - atan((h / (EARTHRADIUS * sin(theta))) + tan(theta/2));
|
/freebsd-12-stable/contrib/libstdc++/include/tr1/ |
H A D | math.h | 45 using std::tr1::atan;
|
/freebsd-12-stable/contrib/gcc/ |
H A D | fp-test.c | 46 extern double atan (double); 230 d1 = atan (d2);
|
/freebsd-12-stable/contrib/libstdc++/include/c_std/ |
H A D | std_cmath.h | 61 #undef atan macro 132 using ::atan; 135 atan(float __x) function 139 atan(long double __x) function 145 atan(_Tp __x) function
|
/freebsd-12-stable/tools/regression/include/tgmath/ |
H A D | tgmath.c | 80 TGMACRO(atan) 417 PRINT("atan", 418 PASS_REAL_ARG_REAL_RET(atan) && 419 PASS_COMPLEX_ARG_COMPLEX_RET(atan));
|
/freebsd-12-stable/lib/msun/ |
H A D | Makefile | 155 MAN= acos.3 acosh.3 asin.3 asinh.3 atan.3 atan2.3 atanh.3 \ 172 MLINKS+=atan.3 atanf.3 atan.3 atanl.3
|
/freebsd-12-stable/include/ |
H A D | tgmath.h | 145 #define atan(x) __tg_full(x, atan) macro
|
/freebsd-12-stable/contrib/libstdc++/src/ |
H A D | compatibility.cc | 426 _GLIBCXX_MATHL_WRAPPER1 (atan, GLIBCXX_3.4.3);
|
/freebsd-12-stable/contrib/llvm-project/libcxx/include/ |
H A D | math.h | 54 floating_point atan (arithmetic x); 843 // atan 846 inline _LIBCPP_INLINE_VISIBILITY float atan(float __lcpp_x) _NOEXCEPT {return ::atanf(__lcpp_x);} 847 inline _LIBCPP_INLINE_VISIBILITY long double atan(long double __lcpp_x) _NOEXCEPT {return ::atanl(__lcpp_x);} 853 atan(_A1 __lcpp_x) _NOEXCEPT {return ::atan((double)__lcpp_x);}
|
/freebsd-12-stable/usr.bin/calendar/ |
H A D | sunpos.c | 54 #define ATAN(x) (R2D(atan(x)))
|
/freebsd-12-stable/contrib/libstdc++/include/bits/ |
H A D | valarray_before.h | 127 { return atan(__t); }
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULibCalls.cpp | 1487 Res0 = atan(opr0); 1496 Res0 = atan(opr0) / MATH_PI;
|