/freebsd-11-stable/lib/msun/i387/ |
H A D | s_cos.S | 39 ENTRY(cos) 56 END(cos)
|
/freebsd-11-stable/lib/msun/src/ |
H A D | s_cos.c | 16 /* cos(x) 25 * Let S,C and T denote the sin, cos and tan respectively on 30 * n sin(x) cos(x) tan(x) 39 * Let trig be any of sin, cos, or tan. 55 cos(double x) function 71 /* cos(Inf or NaN) is NaN */ 88 __weak_reference(cos, cosl);
|
H A D | s_ccosh.c | 31 * = cosh(x) cos(y) + i sinh(x) sin(y). 69 return (CMPLX(cosh(x) * cos(y), sinh(x) * sin(y))); 75 return (CMPLX(h * cos(y), copysign(h, x) * sin(y))); 83 return (CMPLX(h * h * cos(y), h * sin(y))); 128 * cosh(+-Inf + I y) = +Inf cos(y) +- I Inf sin(y) 133 return (CMPLX(INFINITY * cos(y), x * sin(y)));
|
H A D | s_csinh.c | 31 * = sinh(x) cos(y) + i cosh(x) sin(y). 69 return (CMPLX(sinh(x) * cos(y), cosh(x) * sin(y))); 75 return (CMPLX(copysign(h, x) * cos(y), h * sin(y))); 83 return (CMPLX(h * cos(y), h * h * sin(y))); 127 * sinh(+-Inf + I y) = +-Inf cos(y) + I Inf sin(y) 132 return (CMPLX(x * cos(y), INFINITY * sin(y)));
|
H A D | s_cexp.c | 55 /* cexp(0 + I y) = cos(y) + I sin(y) */ 57 return (CMPLX(cos(y), sin(y))); 87 return (CMPLX(exp_x * cos(y), exp_x * sin(y)));
|
H A D | s_ctanh.c | 39 * beta = 1/cos^2(y) 47 * sinh(x) cos(y) + I cosh(x) sin(y) 49 * cosh(x) cos(y) + I sinh(x) sin(y) 51 * cosh(x) sinh(x) / cos^2(y) + I tan(y) 53 * 1 + sinh^2(x) / cos^2(y) 108 return (CMPLX(x, copysign(0, isinf(y) ? y : sin(y) * cos(y)))); 126 4 * sin(y) * cos(y) * exp_mx * exp_mx)); 131 beta = 1.0 + t * t; /* = 1 / cos^2(y) */
|
H A D | s_cpow.c | 73 w = CMPLX(r * cos (theta), r * sin (theta));
|
H A D | k_exp.c | 106 return (CMPLX(cos(y) * exp_x * scale1 * scale2,
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libm/ |
H A D | t_cos.c | 58 * cos(3) 73 if (fabs(cos(angles[i].x) - angles[i].y) > eps) 74 atf_tc_fail_nonfatal("cos(%d deg) != %0.01f", 82 atf_tc_set_md_var(tc, "descr", "Test cos(NaN) == NaN"); 90 ATF_CHECK(isnan(cos(x)) != 0); 96 atf_tc_set_md_var(tc, "descr", "Test cos(-Inf) == NaN"); 103 ATF_CHECK(isnan(cos(x)) != 0); 109 atf_tc_set_md_var(tc, "descr", "Test cos(+Inf) == NaN"); 116 ATF_CHECK(isnan(cos(x)) != 0); 123 atf_tc_set_md_var(tc, "descr", "Test cos( [all...] |
/freebsd-11-stable/lib/msun/tests/ |
H A D | trig_test.c | 89 "test special cases in sin(), cos(), and tan()"); 97 testall(cos, 0.0, 1.0, ALL_STD_EXCEPT, 0); 98 testall(cos, -0.0, 1.0, ALL_STD_EXCEPT, 0); 105 testall(cos, INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID); 108 testall(cos, -INFINITY, NAN, ALL_STD_EXCEPT, FE_INVALID); 113 testall(cos, NAN, NAN, ALL_STD_EXCEPT, 0); 183 ATF_CHECK(cos(d_pi_odd[i]) == -1.0); 187 ATF_CHECK(cos(-d_pi_odd[i]) == -1.0); 191 ATF_CHECK(cos(d_pi_odd[i] * 2) == 1.0); 195 ATF_CHECK(cos( [all...] |
/freebsd-11-stable/sys/tools/sound/ |
H A D | feeder_eq_mkfilter.awk | 135 b1 = -2.0 * cos(w0); 138 a1 = -2.0 * cos(w0); 141 b0 = A*((A+1.0)+((A-1.0)*cos(w0))+(2.0*sqrt(A)*alpha)); 142 b1 = -2.0*A*((A-1.0)+((A+1.0)*cos(w0)) ); 143 b2 = A*((A+1.0)+((A-1.0)*cos(w0))-(2.0*sqrt(A)*alpha)); 144 a0 = (A+1.0)-((A-1.0)*cos(w0))+(2.0*sqrt(A)*alpha ); 145 a1 = 2.0 * ((A-1.0)-((A+1.0)*cos(w0)) ); 146 a2 = (A+1.0)-((A-1.0)*cos(w0))-(2.0*sqrt(A)*alpha ); 169 b1 = -2.0 * cos(w0); 172 a1 = -2.0 * cos(w [all...] |
H A D | feeder_rate_mkfilter.awk | 266 w = 0.36335819 + (0.4891775 * cos(x)) + \ 267 (0.1365995 * cos(2 * x)) + \ 268 (0.0106411 * cos(3 * x)); 271 w = 0.355768 + (0.487396 * cos(x)) + \ 272 (0.144232 * cos(2 * x)) + \ 273 (0.012604 * cos(3 * x)); 276 w = 0.422323 + (0.49755 * cos(x)) + \ 277 (0.07922 * cos(2 * x)); 280 w = 0.42 + (0.50 * cos(x)) + \ 281 (0.08 * cos( [all...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libpthread/ |
H A D | t_fpu.c | 81 x = sin ((y = cos (x + y + .4)) - (z = cos (x + z + .6)));
|
/freebsd-11-stable/sys/dev/bxe/ |
H A D | ecore_init.h | 237 #define ECORE_VOQ_Q_REG_ADDR(cos, pf_q_num)\ 238 (QM_REG_VOQQMASK_0_LSB + 4 * ((cos) * 2 + ((pf_q_num) >> 5))) 306 traffic_cos[LLFC_TRAFFIC_TYPE_FCOE].cos); 308 traffic_cos[LLFC_TRAFFIC_TYPE_ISCSI].cos); 310 traffic_cos[LLFC_TRAFFIC_TYPE_ISCSI].cos); 314 traffic_cos[LLFC_TRAFFIC_TYPE_NW].cos); 316 traffic_cos[LLFC_TRAFFIC_TYPE_NW].cos); 318 traffic_cos[LLFC_TRAFFIC_TYPE_NW].cos); 493 uint32_t vnic, cos; local 498 for (cos [all...] |
/freebsd-11-stable/contrib/libstdc++/include/c_compatibility/ |
H A D | math.h | 40 using std::cos;
|
/freebsd-11-stable/contrib/ntp/clockstuff/ |
H A D | propdelay.c | 59 extern double cos (double); 391 (cos(l1r) * cos(l2r) * cos((long2-long1)*RADPERDEG)) 540 k2 = SATHEIGHT - (EARTHRADIUS * cos(theta));
|
/freebsd-11-stable/contrib/libstdc++/libmath/ |
H A D | stubs.c | 143 return (float) cos(x); 151 return cos((double) x);
|
H A D | mathconf.h | 270 # define cosf(x) cos (x)
|
/freebsd-11-stable/contrib/libstdc++/include/c/ |
H A D | std_cmath.h | 51 #undef cos macro
|
/freebsd-11-stable/contrib/groff/src/preproc/pic/ |
H A D | common.cpp | 78 dot(cent + position(cos(ang), sin(ang))*rad, lt); 94 position zm = position(dim.x * cos(psi), dim.y * sin(psi)); 110 position M0 = position(rho * cos(phi0), rho * sin(phi0)) + M; 111 position M1 = position(rho * cos(phi1), rho * sin(phi1)) + M; 164 z = position(dim_x * cos(phi), dim_y * sin(phi)); 175 zdot = position(dim_x * cos(psi), dim_y * sin(psi)); 216 z = position(dim_x * cos(phi), dim_y * sin(phi)); 227 zdot = position(dim_x * cos(psi), dim_y * sin(psi)); 303 dot(cent + position(cos(a), sin(a))*rad, lt); 314 arc(cent + position(cos(start_angl [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Headers/ |
H A D | __clang_cuda_math_forward_declares.h | 74 __DEVICE__ double cos(double); 75 __DEVICE__ float cos(float); 234 using ::cos;
|
/freebsd-11-stable/contrib/libstdc++/include/tr1/ |
H A D | math.h | 51 using std::tr1::cos;
|
/freebsd-11-stable/contrib/gcc/ |
H A D | fp-test.c | 48 extern double cos (double); 232 d1 = cos (d2);
|
/freebsd-11-stable/contrib/libstdc++/include/c_std/ |
H A D | std_cmath.h | 64 #undef cos macro 181 using ::cos; 184 cos(float __x) function 188 cos(long double __x) function 194 cos(_Tp __x) function
|
/freebsd-11-stable/usr.bin/calendar/ |
H A D | sunpos.c | 51 #define COS(x) (cos(D2R(x))) 129 int lcsign = cos(D2R(lambda)) < 0 ? -1 : 1; 131 || ((cos(D2R(alpha)) < 0) ? -1 : 1) != lcsign)
|