/freebsd/sys/dev/bwn/ |
H A D | if_bwn_cordic.h | 53 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 D | t_tan.c | 73 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 D | t_sin.c | 77 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 D | t_cos.c | 84 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 D | s_cpow.c | 55 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 D | s_cpowf.c | 54 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 D | s_cpowl.c | 54 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 D | propdelay.c | 412 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 D | fp16.c | 111 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 D | DXIL.td | 264 "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 D | bign_common.c | 205 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 D | ar9300_paprd.c | 1400 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 D | CommentHTMLNamedCharacterReferences.td | 127 def : NCR<"theta", 0x003B8>;
|
/freebsd/share/dict/ |
H A D | web2a | 63466 theta function
|
H A D | web2 | 202098 theta
|