Home
last modified time | relevance | path

Searched refs:theta (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/dev/bwn/
H A Dif_bwn_cordic.h53 bwn_cordic(int theta) in bwn_cordic() argument
61 while (theta > (180 << 16)) in bwn_cordic()
62 theta -= (360 << 16); in bwn_cordic()
63 while (theta < -(180 << 16)) in bwn_cordic()
64 theta += (360 << 16); in bwn_cordic()
66 if (theta > (90 << 16)) { in bwn_cordic()
67 theta -= (180 << 16); in bwn_cordic()
69 } else if (theta < -(90 << 16)) { in bwn_cordic()
70 theta += (180 << 16); in bwn_cordic()
75 if (theta > angle) { in bwn_cordic()
/freebsd/contrib/netbsd-tests/lib/libm/
H A Dt_tan.c73 double theta = angles[i].x; in ATF_TC_BODY() local
77 if (theta == 0) { in ATF_TC_BODY()
80 ok = (tan(theta) == 0); in ATF_TC_BODY()
83 ok = (fabs((tan(theta) - tan_theta)/tan_theta) <= eps); in ATF_TC_BODY()
89 deg, theta, tan(theta), tan_theta); in ATF_TC_BODY()
177 float theta = angles[i].x; in ATF_TC_BODY() local
184 if (theta == 0) { in ATF_TC_BODY()
187 ok = (tan(theta) == 0); in ATF_TC_BODY()
190 ok = (fabsf((tanf(theta) - tan_theta)/tan_theta) in ATF_TC_BODY()
196 deg, tanf(theta), tan_theta); in ATF_TC_BODY()
H A Dt_sin.c77 double theta = angles[i].x; in ATF_TC_BODY() local
84 ok = (sin(theta) == 0); in ATF_TC_BODY()
87 ok = (fabs((sin(theta) - sin_theta)/sin_theta) <= eps); in ATF_TC_BODY()
93 deg, theta, sin(theta), sin_theta); in ATF_TC_BODY()
181 float theta = angles[i].x; in ATF_TC_BODY() local
190 ok = (sinf(theta) == 0); in ATF_TC_BODY()
192 ok = (fabsf((sinf(theta) - sin_theta)/sin_theta) in ATF_TC_BODY()
198 deg, sinf(theta), sin_theta); in ATF_TC_BODY()
H A Dt_cos.c84 long double theta = angles[i].x; in ATF_TC_BODY() local
88 if (!(fabsl((cosl(theta) - cos_theta)/cos_theta) <= eps)) { in ATF_TC_BODY()
91 deg, theta, cosl(theta), cos_theta); in ATF_TC_BODY()
180 double theta = angles[i].x; in ATF_TC_BODY() local
184 if (!(fabs((cos(theta) - cos_theta)/cos_theta) <= eps)) { in ATF_TC_BODY()
187 deg, theta, cos(theta), cos_theta); in ATF_TC_BODY()
275 float theta = angles[i].x; in ATF_TC_BODY() local
287 volatile float result = cosf(theta); in ATF_TC_BODY()
295 " != %.8g", deg, theta, result, cos_theta); in ATF_TC_BODY()
/freebsd/lib/msun/src/
H A Ds_cpow.c55 double x, y, r, theta, absa, arga; in cpow() local
65 theta = x * arga; in cpow()
68 theta = theta + y * log (absa); in cpow()
70 w = CMPLX(r * cos (theta), r * sin (theta)); in cpow()
H A Ds_cpowf.c54 float x, y, r, theta, absa, arga; in cpowf() local
64 theta = x * arga; in cpowf()
67 theta = theta + y * logf (absa); in cpowf()
69 w = CMPLXF(r * cosf (theta), r * sinf (theta)); in cpowf()
H A Ds_cpowl.c54 long double x, y, r, theta, absa, arga; in cpowl() local
64 theta = x * arga; in cpowl()
67 theta = theta + y * logl(absa); in cpowl()
69 w = CMPLXL(r * cosl(theta), r * sinl(theta)); in cpowl()
/freebsd/contrib/ntp/clockstuff/
H A Dpropdelay.c412 double theta; in waveangle() local
415 theta = dg / (EARTHRADIUS * (double)(2 * n)); in waveangle()
416 delta = atan((h / (EARTHRADIUS * sin(theta))) + tan(theta/2)) - theta; in waveangle()
435 double theta; in propdelay() local
438 theta = dg / (EARTHRADIUS * (double)(2 * n)); in propdelay()
439 phi = (PI/2.0) - atan((h / (EARTHRADIUS * sin(theta))) + tan(theta/2)); in propdelay()
535 double theta; in satpropdelay() local
538 theta = dg / (EARTHRADIUS); in satpropdelay()
539 k1 = EARTHRADIUS * sin(theta); in satpropdelay()
540 k2 = SATHEIGHT - (EARTHRADIUS * cos(theta)); in satpropdelay()
[all …]
/freebsd/sys/dev/syscons/plasma/
H A Dfp16.c111 fp16_sin(fp16_t theta) in fp16_sin() argument
115 i = 1024 * (theta % FP16_2PI) / FP16_2PI; in fp16_sin()
135 fp16_cos(fp16_t theta) in fp16_cos() argument
139 i = 1024 * (theta % FP16_2PI) / FP16_2PI; in fp16_cos()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXIL.td264 "Returns cosine(theta) for theta in radians.",
267 "Returns sine(theta) for theta in radians.",
270 "Returns tangent(theta) for theta in radians.",
/freebsd/crypto/libecc/src/sig/
H A Dbign_common.c205 u8 theta[BELT_HASH_DIGEST_SIZE]; in __bign_determinitic_nonce() local
223 ret = local_memset(theta, 0, sizeof(theta)); EG(ret, err); in __bign_determinitic_nonce()
248 ret = belt_hash_final(&belt_hash_ctx, theta); EG(ret, err); in __bign_determinitic_nonce()
250 dbg_buf_print("theta", theta, BELT_HASH_DIGEST_SIZE); in __bign_determinitic_nonce()
290 belt_encrypt(s, &r[(n - 2) * BELT_BLOCK_LEN], theta); in __bign_determinitic_nonce()
338 IGNORE_RET_VAL(local_memset(theta, 0, sizeof(theta))); in __bign_determinitic_nonce()
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_paprd.c1400 int theta[NUM_BIN + 1]; in create_pa_curve() local
1476 theta[bin + 1] = in create_pa_curve()
1479 theta[bin + 1] = theta[bin + 1] / (int) accum_cnt[bin]; in create_pa_curve()
1486 theta[bin + 1] = in create_pa_curve()
1505 theta_low_bin += theta[bin]; in create_pa_curve()
1509 theta[bin] = theta_low_bin; in create_pa_curve()
1513 theta[0] = theta_low_bin; in create_pa_curve()
1516 theta[bin] = theta[bin] - theta_low_bin; in create_pa_curve()
1718 ((theta[bin + half_lo] << m) + y_est[bin + half_lo]) / in create_pa_curve()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCommentHTMLNamedCharacterReferences.td127 def : NCR<"theta", 0x003B8>;
/freebsd/share/dict/
H A Dweb2a63466 theta function
H A Dweb2202098 theta