Searched refs:tan (Results 1 - 25 of 34) sorted by last modified time

12

/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp2476 MUTATE_LDBL(tan)
/freebsd-current/lib/msun/src/
H A Dmath.h247 double tan(double);
H A Ds_tan.c12 /* tan(x)
20 * Let S,C and T denote the sin, cos and tan respectively on
25 * n sin(x) cos(x) tan(x)
34 * Let trig be any of sin, cos, or tan.
50 tan(double x) function
66 /* tan(Inf or NaN) is NaN */
78 __weak_reference(tan, tanl);
H A Ds_ctanh.c40 * Let t = tan(x)
53 * cosh(x) sinh(x) / cos^2(y) + I tan(y)
63 * I omitted the original algorithm's handling of overflow in tan(x) after
131 t = tan(y);
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp1538 Res0 = tan(opr0);
1546 Res0 = tan(MATH_PI * opr0);
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp1692 return Name == "tan" || Name == "tanf" ||
2388 return ConstantFoldFP(tan, APF, Ty);
3476 return ConstantFoldFP(tan, OpC->getValueAPF(), Ty) != nullptr;
/freebsd-current/contrib/llvm-project/libcxx/include/
H A Dmath.h126 floating_point tan (arithmetic x);
497 using std::__math::tan;
/freebsd-current/contrib/llvm-project/libcxx/include/__random/
H A Dcauchy_distribution.h102 // purposefully let tan arg get as close to pi/2 as it wants, tan will return a finite
103 return __p.a() + __p.b() * std::tan(3.1415926535897932384626433832795 * __gen(__g));
/freebsd-current/contrib/llvm-project/libcxx/include/__math/
H A Dtrigonometric_functions.h56 // tan
58 inline _LIBCPP_HIDE_FROM_ABI float tan(float __x) _NOEXCEPT { return __builtin_tanf(__x); }
61 _LIBCPP_HIDE_FROM_ABI double tan(double __x) _NOEXCEPT {
65 inline _LIBCPP_HIDE_FROM_ABI long double tan(long double __x) _NOEXCEPT { return __builtin_tanl(__x); }
68 inline _LIBCPP_HIDE_FROM_ABI double tan(_A1 __x) _NOEXCEPT {
/freebsd-current/contrib/llvm-project/clang/lib/Headers/
H A D__clang_hip_math.h1090 double tan(double __x) { return __ocml_tan_f64(__x); } function
H A D__clang_cuda_math.h315 __DEVICE__ double tan(double __a) { return __nv_tan(__a); } function
H A D__clang_hip_cmath.h251 __DEF_FUN1(float, tan)
539 __HIP_OVERLOAD1(double, tan)
716 using ::tan;
/freebsd-current/lib/msun/
H A DMakefile183 sinh.3 sinpi.3 sqrt.3 tan.3 tanh.3 tanpi.3 trunc.3 \
269 MLINKS+=tan.3 tanf.3 tan.3 tanl.3
/freebsd-current/contrib/sqlite3/
H A Dsqlite3.c[all...]
/freebsd-current/contrib/arm-optimized-routines/pl/math/
H A Dv_tanf_3u5.c2 * Single-precision vector tan(x) function.
67 float32x4_t VPCS_ATTR V_NAME_F1 (tan) (float32x4_t x) function
90 /* Determine if x lives in an interval, where |tan(x)| grows to infinity. */
99 /* If x lives in an interval, where |tan(x)|
101 tan(r) ~ r + r^3 * P(r^2) = r + r * r^2 * P(r^2).
103 tan(r) = cotan(pi/2 - r) to express tan(x) as 1/tan(-r). Finally, use
104 the same polynomial approximation of tan as above. */
122 PL_SIG (V, F, 1, tan,
[all...]
H A Dv_tan_3u5.c2 * Double-precision vector tan(x) function.
43 return v_call_f64 (tan, x, x, v_u64 (-1));
46 /* Vector approximation for double-precision tan.
50 float64x2_t VPCS_ATTR V_NAME_D1 (tan) (float64x2_t x) function
80 /* Approximate tan(r) using order 8 polynomial.
81 tan(x) is odd, so polynomial has the form:
82 tan(x) ~= x + C0 * x^3 + C1 * x^5 + C3 * x^7 + ...
85 tan(r) ~= r + r^3 * (C0 + r^2 * P(r)). */
94 tan(2x) = 2 * tan(
[all...]
H A Dsv_tanf_3u5.c2 * Single-precision vector tan(x) function.
19 poly = fpminimax((tan(sqrt(x))-sqrt(x))/x^(3/2),
47 SV_NAME_F1 (tan)(-0x1.e5f0cap+13) got 0x1.ff9856p-1
49 svfloat32_t SV_NAME_F1 (tan) (svfloat32_t x, const svbool_t pg) function
64 /* Determine if x lives in an interval, where |tan(x)| grows to infinity. */
74 /* If x lives in an interval, where |tan(x)|
76 tan(r) ~ r + r^3 * P(r^2) = r + r * r^2 * P(r^2).
78 tan(r) = cotan(pi/2 - r) to express tan(x) as 1/tan(
[all...]
H A Dtanf_3u3.c2 * Single-precision scalar tan(x) function.
100 /* Fast single-precision tan implementation.
127 /* tan (x) ~= x + x^3 * P(x^2). */
153 /* tan(Inf or NaN) is NaN. */
157 /* If x lives in an interval where |tan(x)|
159 tan(r) ~ r + r^3 * P(r^2) = r + r * r^2 * P(r^2).
162 Using symmetries of tangent and the identity tan(r) = cotan(pi/2 - r),
163 we only need to change the sign of r to obtain tan(x) from cotan(r).
167 /* Determine if x lives in an interval where |tan(x)| grows to infinity. */
178 /* Evaluate polynomial approximation of tan o
[all...]
H A Dsv_tan_3u5.c2 * Double-precision SVE tan(x) function.
33 return sv_call_f64 (tan, x, y, special);
36 /* Vector approximation for double-precision tan.
40 svfloat64_t SV_NAME_D1 (tan) (svfloat64_t x, svbool_t pg) function
63 /* Approximate tan(r) using order 8 polynomial.
64 tan(x) is odd, so polynomial has the form:
65 tan(x) ~= x + C0 * x^3 + C1 * x^5 + C3 * x^7 + ...
68 tan(r) ~= r + r^3 * (C0 + r^2 * P(r)). */
78 tan(2x) = 2 * tan(
[all...]
/freebsd-current/contrib/arm-optimized-routines/math/test/
H A Dmathtest.c212 TFUNC(at_d,rt_d, tan, 2*ULPUNIT),
/freebsd-current/lib/msun/tests/
H A Dtrig_test.c84 "test special cases in sin(), cos(), and tan()");
90 testall(tan, 0.0, 0.0, ALL_STD_EXCEPT, 0);
91 testall(tan, -0.0, -0.0, ALL_STD_EXCEPT, 0);
98 testall(tan, INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID);
101 testall(tan, -INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID);
106 testall(tan, NAN, NAN, ALL_STD_EXCEPT, 0);
166 ATF_CHECK(fabs(tan(f_pi_odd[i])) < FLT_EPSILON);
184 ATF_CHECK(fabs(tan(d_pi_odd[i])) < 2 * DBL_EPSILON);
188 ATF_CHECK(fabs(tan(-d_pi_odd[i])) < 2 * DBL_EPSILON);
192 ATF_CHECK(fabs(tan(d_pi_od
[all...]
H A Dctrig_test.c322 test_odd_tol(ctan, z, CMPLXL(tan(nums[i]), 0), DBL_ULP());
343 test_odd_tol(ctanh, z, CMPLXL(0, tan(nums[i])), DBL_ULP());
/freebsd-current/usr.bin/calendar/
H A Dsunpos.c50 #define TAN(x) (tan(D2R(x)))
/freebsd-current/tools/regression/include/tgmath/
H A Dtgmath.c84 TGMACRO(tan)
439 PRINT("tan",
440 PASS_REAL_ARG_REAL_RET(tan) &&
441 PASS_COMPLEX_ARG_COMPLEX_RET(tan));
/freebsd-current/lib/msun/i387/
H A Ds_tan.S37 ENTRY(tan)
56 END(tan)

Completed in 822 milliseconds

12