Searched refs:cos (Results 26 - 50 of 80) sorted by relevance

1234

/freebsd-current/usr.bin/calendar/
H A Dsunpos.c49 #define COS(x) (cos(D2R(x)))
127 int lcsign = cos(D2R(lambda)) < 0 ? -1 : 1;
129 || ((cos(D2R(alpha)) < 0) ? -1 : 1) != lcsign)
H A Dpom.c235 return(50 * (1 - cos(dtor(D)))); /* sec 63 #3 */
/freebsd-current/usr.bin/pom/
H A Dpom.c203 return(50 * (1 - cos(dtor(D)))); /* sec 63 #3 */
/freebsd-current/lib/msun/tests/
H A Dcexp_test.c158 /* cexp(-inf + yi) = 0 * (cos(y) + sin(y)i) */
172 /* cexp(inf + yi) = inf * (cos(y) + sin(y)i) (except y=0) */
218 CMPLXL(cos(finites[i]), sin(finites[i])),
221 CMPLXL(cos(finites[i]), sin(finites[i])),
H A Dctrig_test.c319 copysign(0, cos(nums[i]))), DBL_ULP());
320 test_even_tol(ccos, z, CMPLXL(cos(nums[i]),
339 test_odd_tol(csinh, z, CMPLXL(copysign(0, cos(nums[i])),
341 test_even_tol(ccosh, z, CMPLXL(cos(nums[i]),
/freebsd-current/lib/msun/src/
H A De_j1.c21 * j1(x) = sqrt(2/(pi*x))*(p1(x)*cos(x1)-q1(x)*sin(x1))
22 * y1(x) = sqrt(2/(pi*x))*(p1(x)*sin(x1)+q1(x)*cos(x1))
23 * where x1 = x-3*pi/4. It is better to compute sin(x1),cos(x1)
25 * cos(x1) = cos(x)cos(3pi/4)+sin(x)sin(3pi/4)
26 * = 1/sqrt(2) * (sin(x) - cos(x))
27 * sin(x1) = sin(x)cos(3pi/4)-cos(x)sin(3pi/4)
28 * = -1/sqrt(2) * (sin(x) + cos(
[all...]
H A De_j0.c21 * j0(x) = sqrt(2/(pi*x))*(p0(x)*cos(x0)-q0(x)*sin(x0))
22 * where x0 = x-pi/4. It is better to compute sin(x0),cos(x0)
24 * cos(x0) = cos(x)cos(pi/4)+sin(x)sin(pi/4)
25 * = 1/sqrt(2) * (cos(x) + sin(x))
26 * sin(x0) = sin(x)cos(pi/4)-cos(x)sin(pi/4)
27 * = 1/sqrt(2) * (sin(x) - cos(x))
29 * sin(x) +- cos(
[all...]
H A Dmath.h245 double cos(double);
/freebsd-current/contrib/llvm-project/clang/lib/Headers/openmp_wrappers/
H A Dcomplex_cmath.h97 _Tp __x = __rho * cos(__theta);
152 return std::complex<_Tp>(__e * cos(__i), __e * sin(__i));
272 return std::complex<_Tp>(sinh(__x.real()) * cos(__x.imag()),
288 return std::complex<_Tp>(cosh(__x.real()) * cos(__x.imag()),
306 _Tp __d(cosh(__2r) + cos(__2i));
372 // cos
374 template <class _Tp> std::complex<_Tp> cos(const std::complex<_Tp> &__x) { function in namespace:std
/freebsd-current/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_cmath.h50 __DEVICE__ float cos(float __x) { return ::cosf(__x); } function
251 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, cos)
378 using ::cos;
H A D__clang_hip_cmath.h42 __DEVICE__ __CONSTEXPR__ float cos(float __x) { return ::cosf(__x); } function
215 __DEF_FUN1(float, cos)
491 __HIP_OVERLOAD1(double, cos)
661 using ::cos;
H A Dtgmath.h230 // cos
238 __tg_cos(double __x) {return cos(__x);}
256 #undef cos macro
257 #define cos(__x) __tg_cos(__tg_promote1((__x))(__x)) macro
/freebsd-current/tools/regression/include/tgmath/
H A Dtgmath.c82 TGMACRO(cos)
431 PRINT("cos",
432 PASS_REAL_ARG_REAL_RET(cos) &&
433 PASS_COMPLEX_ARG_COMPLEX_RET(cos));
/freebsd-current/lib/msun/
H A DMakefile174 cimag.3 clog.3 copysign.3 cos.3 cosh.3 cospi.3 \
211 MLINKS+=cos.3 cosf.3 cos.3 cosl.3
/freebsd-current/include/
H A Dtgmath.h147 #define cos(x) __tg_full(x, cos) macro
/freebsd-current/contrib/arm-optimized-routines/math/test/
H A Drunulp.sh268 cos _ZGVnN2v_cos
/freebsd-current/contrib/llvm-project/libcxx/include/
H A Dmath.h66 floating_point cos (arithmetic x);
454 using std::__math::cos;
/freebsd-current/sys/dev/bxe/
H A Decore_sp.c4734 /* >= because tx only must always be smaller than cos since the
4737 ECORE_ERR("illegal value for next tx_only: %d. max cos was %d",
4803 gen_data->cos = params->cos;
4811 ECORE_MSG(sc, "flags: active %d, cos %d, stats en %d\n",
4812 gen_data->activate_flg, gen_data->cos, gen_data->statistics_en_flg);
5000 uint8_t cos; local
5025 for (cos = 0; cos < o->max_cos; cos
[all...]
/freebsd-current/contrib/ntp/ntpd/
H A Dntpsim.c631 return (m + s * sqrt(-2. * log(q1)) * cos(2. * PI * q2));
H A Dntp_timer.c628 /* Google approach : lie(t) = (1.0 - cos(pi * t / w)) / 2.0 */
629 leap_smear.doffset = -((double) lsdata.tai_diff - cos( M_PI * leap_smear_time / leap_smear.interval)) / 2.0;
/freebsd-current/contrib/one-true-awk/testdir/
H A Dchem.awk253 printf "\tV%d: (%g,%g)\n", i, r * sin(a), r * cos(a)
/freebsd-current/sys/dev/qlnx/qlnxe/
H A Decore_hsi_fcoe.h47 u8 cos /* Transmission cos */; member in struct:ystorm_fcoe_conn_st_ctx
140 u8 cos /* Transmission cos */; member in struct:pstorm_fcoe_conn_st_ctx
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp91 /// of cos, sincos call).
97 // sin/cos
455 bool native_cos = useNativeFunc("cos");
478 << " with native version of sin/cos");
1296 // to be addrspacecasted to point to the address space of cos pointer type.
1302 // TODO: Is it worth trying to preserve the location for the cos calls for the
1309 // fold sin, cos -> sincos.
1328 // Merge the sin and cos. For OpenCL 2.0, there may only be a generic pointer
1486 Res0 = cos(opr0);
1494 Res0 = cos(MATH_P
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp405 case Intrinsic::cos: {
406 ReplaceFPIntrinsicWithCall(CI, "cosf", "cos", "cosl");
/freebsd-current/contrib/lua/src/
H A Dlmathlib.c46 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1)));
711 {"cos", math_cos},

Completed in 288 milliseconds

1234