Searched refs:atan (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-11-stable/contrib/netbsd-tests/lib/libm/
H A Dt_atan.c56 * 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-11-stable/lib/msun/tests/
H A Dinvtrig_test.c123 * 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 Dinvctrig_test.c304 testall_tol(catan, z, CMPLXL(atan(nums[i]), 0), 1);
317 * atan(z) = atan(4)/2 + i ln(17/9)/4
/freebsd-11-stable/lib/msun/src/
H A Ds_atan.c16 /* 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 De_atan2.c74 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 Dmath.h239 double atan(double);
H A Dcatrig.c585 /* To ensure the same accuracy as atan(), and to filter out z = 0. */
587 return (CMPLX(x, atan(y)));
/freebsd-11-stable/contrib/libstdc++/include/c_compatibility/
H A Dmath.h38 using std::atan;
/freebsd-11-stable/contrib/libstdc++/libmath/
H A Dstubs.c92 return (float) atan(x);
100 return atan ((double) x);
/freebsd-11-stable/contrib/libstdc++/include/c/
H A Dstd_cmath.h48 #undef atan macro
/freebsd-11-stable/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h64 __DEVICE__ double atan(double);
65 __DEVICE__ float atan(float);
228 using ::atan;
H A D__clang_cuda_cmath.h61 __DEVICE__ float atan(float __x) { return ::atanf(__x); } function
216 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, atan)
343 using ::atan;
H A Dtgmath.h114 // 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-11-stable/contrib/ntp/clockstuff/
H A Dpropdelay.c62 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-11-stable/contrib/libstdc++/include/tr1/
H A Dmath.h45 using std::tr1::atan;
/freebsd-11-stable/contrib/gcc/
H A Dfp-test.c46 extern double atan (double);
230 d1 = atan (d2);
/freebsd-11-stable/contrib/libstdc++/include/c_std/
H A Dstd_cmath.h61 #undef atan macro
132 using ::atan;
135 atan(float __x) function
139 atan(long double __x) function
145 atan(_Tp __x) function
/freebsd-11-stable/tools/regression/include/tgmath/
H A Dtgmath.c80 TGMACRO(atan)
417 PRINT("atan",
418 PASS_REAL_ARG_REAL_RET(atan) &&
419 PASS_COMPLEX_ARG_COMPLEX_RET(atan));
/freebsd-11-stable/lib/msun/
H A DMakefile155 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-11-stable/include/
H A Dtgmath.h143 #define atan(x) __tg_full(x, atan) macro
/freebsd-11-stable/contrib/libstdc++/src/
H A Dcompatibility.cc426 _GLIBCXX_MATHL_WRAPPER1 (atan, GLIBCXX_3.4.3);
/freebsd-11-stable/usr.bin/calendar/
H A Dsunpos.c54 #define ATAN(x) (R2D(atan(x)))
/freebsd-11-stable/contrib/llvm-project/libcxx/include/
H A Dmath.h54 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-11-stable/contrib/libstdc++/include/bits/
H A Dvalarray_before.h127 { return atan(__t); }
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp1487 Res0 = atan(opr0);
1496 Res0 = atan(opr0) / MATH_PI;

Completed in 278 milliseconds

12