/freebsd-current/usr.bin/calendar/ |
H A D | sunpos.c | 49 #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 D | pom.c | 235 return(50 * (1 - cos(dtor(D)))); /* sec 63 #3 */
|
/freebsd-current/usr.bin/pom/ |
H A D | pom.c | 203 return(50 * (1 - cos(dtor(D)))); /* sec 63 #3 */
|
/freebsd-current/lib/msun/tests/ |
H A D | cexp_test.c | 158 /* 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 D | ctrig_test.c | 319 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 D | e_j1.c | 21 * 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 D | e_j0.c | 21 * 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 D | math.h | 245 double cos(double);
|
/freebsd-current/contrib/llvm-project/clang/lib/Headers/openmp_wrappers/ |
H A D | complex_cmath.h | 97 _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.h | 50 __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.h | 42 __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 D | tgmath.h | 230 // 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 D | tgmath.c | 82 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 D | Makefile | 174 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 D | tgmath.h | 147 #define cos(x) __tg_full(x, cos) macro
|
/freebsd-current/contrib/arm-optimized-routines/math/test/ |
H A D | runulp.sh | 268 cos _ZGVnN2v_cos
|
/freebsd-current/contrib/llvm-project/libcxx/include/ |
H A D | math.h | 66 floating_point cos (arithmetic x); 454 using std::__math::cos;
|
/freebsd-current/sys/dev/bxe/ |
H A D | ecore_sp.c | 4734 /* >= 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 D | ntpsim.c | 631 return (m + s * sqrt(-2. * log(q1)) * cos(2. * PI * q2));
|
H A D | ntp_timer.c | 628 /* 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 D | chem.awk | 253 printf "\tV%d: (%g,%g)\n", i, r * sin(a), r * cos(a)
|
/freebsd-current/sys/dev/qlnx/qlnxe/ |
H A D | ecore_hsi_fcoe.h | 47 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 D | AMDGPULibCalls.cpp | 91 /// 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 D | IntrinsicLowering.cpp | 405 case Intrinsic::cos: { 406 ReplaceFPIntrinsicWithCall(CI, "cosf", "cos", "cosl");
|
/freebsd-current/contrib/lua/src/ |
H A D | lmathlib.c | 46 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); 711 {"cos", math_cos},
|