Searched refs:sqrt (Results 1 - 25 of 86) sorted by relevance

1234

/freebsd-13-stable/lib/msun/amd64/
H A De_sqrt.S30 ENTRY(sqrt)
33 END(sqrt)
/freebsd-13-stable/lib/msun/i387/
H A De_sqrt.S39 ENTRY(sqrt)
43 END(sqrt)
/freebsd-13-stable/libexec/rtld-elf/tests/libpythagoras/
H A Dpythagoras.c41 return (sqrt(pow(a, 2) + pow(b, 2)));
/freebsd-13-stable/contrib/ntp/scripts/stats/
H A Dloop.awk39 loop_time_rms = sqrt(loop_time_rms / loop_count - loop_time * loop_time)
41 loop_freq_rms = sqrt(loop_freq_rms / loop_count - loop_freq * loop_freq)
H A Dclock.awk318 arb_rms = sqrt(arb_rms / arbn - arb_mean * arb_mean)
319 arb_var = sqrt(arb_var / (2 * (arbn - 1)))
337 ensemble_rms = sqrt(ensemble_rms / ensemble_count - ensemble_mean * ensemble_mean) * 1e9
394 itf_rms = sqrt(itf_rms / itf_count - itf_mean * itf_mean) * 1e9
395 itf_var = sqrt(itf_var / (2 * (itf_count - 1)))
410 etf_rms = sqrt(etf_rms / etf_count - etf_mean * etf_mean)
411 etf_var = sqrt(etf_var / (2 * (etf_count - 1)))
H A Dpsummary.awk79 peer_var[i] = sqrt(peer_var[i] / peer_count[i])
H A Detf.S7 std<-sqrt(var(r$residuals))
H A Dpeer.awk59 peer_time_rms[i] = sqrt(peer_time_rms[i] / peer_count[i] - peer_time[i] * peer_time[i])
/freebsd-13-stable/lib/msun/src/
H A De_acosh.c21 * acosh(x) = log [ x + sqrt(x*x-1) ]
24 * acosh(x) := log(2x-1/(sqrt(x*x-1)+x)) if x>2; else
25 * acosh(x) := log1p(t+sqrt(2.0*t+t*t)); where t=x-1.
59 return __ieee754_log(2.0*x-one/(x+sqrt(t-one)));
62 return log1p(t+sqrt(2.0*t+t*t));
H A Ds_csqrtf.c78 t = sqrt((a + hypot(a, b)) * 0.5);
81 t = sqrt((-a + hypot(a, b)) * 0.5);
H A Ds_csqrt.c38 /* For avoiding overflow for components >= DBL_MAX / (1 + sqrt(2)). */
101 t = sqrt((a + hypot(a, b)) * 0.5);
105 t = sqrt((-a + hypot(a, b)) * 0.5);
H A Dcatrig.c50 FOUR_SQRT_MIN = 0x1p-509, /* >= 4 * sqrt(DBL_MIN) */
51 QUARTER_SQRT_MAX = 0x1p509, /* <= sqrt(DBL_MAX) / 4 */
58 SQRT_MIN = 0x1p-511; /* >= sqrt(DBL_MIN) */
95 * casinh(z) = sign(x)*log(A+sqrt(A*A-1)) + I*asin(B)
110 * log(A + sqrt(A*A-1)) = log1p((A-1) + sqrt((A-1)*(A+1)))
113 * asin(B) = atan2(y, sqrt(A*A - y*y)) = atan2(y, sqrt((A+y)*(A-y)))
150 * If B_is_usable is set to 0, sqrt_A2my2 = sqrt(A*A - y*y), and new_y = y.
177 * rx = log1p(Am1 + sqrt(Am
[all...]
H A De_acos.c24 * acos(x) = pi/2 - (pi/2 - 2asin(sqrt((1-x)/2)))
25 * = 2asin(sqrt((1-x)/2))
26 * = 2s + 2s*z*R(z) ...z=(1-x)/2, s=sqrt(z)
29 * for f so that f+c ~ sqrt(z).
31 * acos(x) = pi - 2asin(sqrt((1-|x|)/2))
32 * = pi - 0.5*(s+s*z*R(z)), where z=(1-|x|)/2,s=sqrt(z)
38 * Function needed: sqrt
91 s = sqrt(z);
97 s = sqrt(z);
H A De_hypot.c21 * has error less than sqrt(2)/2 ulp, than
22 * sqrt(z) has error less than 1 ulp (exercise).
24 * So, compute sqrt(x*x+y*y) with some care as
45 * hypot(x,y) returns sqrt(x^2+y^2) with error less
109 w = sqrt(t1*t1-(b*(-b)-t2*(a+t1)));
118 w = sqrt(t1*y1-(w*(-w)-(t1*y2+t2*b)));
H A De_asinf.c61 s = sqrt(t);
H A Ds_ctanh.c137 rho = sqrt(1 + s * s); /* = cosh(x) */
H A De_j0.c25 * j0(x) = sqrt(2/(pi*x))*(p0(x)*cos(x0)-q0(x)*sin(x0))
29 * = 1/sqrt(2) * (cos(x) + sin(x))
31 * = 1/sqrt(2) * (sin(x) - cos(x))
55 * y0(x) = sqrt(2/(pi*x))*(p0(x)*cos(x0)+q0(x)*sin(x0))
105 * j0(x) = 1/sqrt(pi) * (P(0,x)*cc - Q(0,x)*ss) / sqrt(x)
106 * y0(x) = 1/sqrt(pi) * (P(0,x)*ss + Q(0,x)*cc) / sqrt(x)
108 if(ix>0x48000000) z = (invsqrtpi*cc)/sqrt(x);
111 z = invsqrtpi*(u*cc-v*ss)/sqrt(
[all...]
H A De_j1.c25 * j1(x) = sqrt(2/(pi*x))*(p1(x)*cos(x1)-q1(x)*sin(x1))
26 * y1(x) = sqrt(2/(pi*x))*(p1(x)*sin(x1)+q1(x)*cos(x1))
30 * = 1/sqrt(2) * (sin(x) - cos(x))
32 * = -1/sqrt(2) * (sin(x) + cos(x))
56 * y1(x) = sqrt(2/(pi*x))*(p1(x)*sin(x1)+q1(x)*cos(x1))
106 * j1(x) = 1/sqrt(pi) * (P(1,x)*cc - Q(1,x)*ss) / sqrt(x)
107 * y1(x) = 1/sqrt(pi) * (P(1,x)*ss + Q(1,x)*cc) / sqrt(x)
109 if(ix>0x48000000) z = (invsqrtpi*cc)/sqrt(
[all...]
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerRandom.h25 size_t Res = sqrt(T);
/freebsd-13-stable/sys/tools/sound/
H A Dfeeder_eq_mkfilter.awk94 A = sqrt(pow(10, gain / 20.0));
104 alpha = sin(w0) * 0.5 * sqrt(A + ((1.0 / A) * \
143 b0 = A*((A+1.0)+((A-1.0)*cos(w0))+(2.0*sqrt(A)*alpha));
145 b2 = A*((A+1.0)+((A-1.0)*cos(w0))-(2.0*sqrt(A)*alpha));
146 a0 = (A+1.0)-((A-1.0)*cos(w0))+(2.0*sqrt(A)*alpha );
148 a2 = (A+1.0)-((A-1.0)*cos(w0))-(2.0*sqrt(A)*alpha );
177 b0 = A*((A+1.0)-((A-1.0)*cos(w0))+(2.0*sqrt(A)*alpha));
179 b2 = A*((A+1.0)-((A-1.0)*cos(w0))-(2.0*sqrt(A)*alpha));
180 a0 = (A+1.0)+((A-1.0)*cos(w0))+(2.0*sqrt(A)*alpha );
182 a2 = (A+1.0)+((A-1.0)*cos(w0))-(2.0*sqrt(
[all...]
/freebsd-13-stable/contrib/netbsd-tests/lib/libm/
H A Dt_sqrt.c40 * sqrt(3)
45 atf_tc_set_md_var(tc, "descr", "Test sqrt(NaN) == NaN");
53 ATF_CHECK(isnan(sqrt(x)) != 0);
59 atf_tc_set_md_var(tc, "descr", "Test sqrt(3) vs. pow(3)");
69 double x_sqrt = sqrt(x[i]);
80 atf_tc_fail_nonfatal("sqrt(%.17g) = %.17g != "
90 atf_tc_set_md_var(tc, "descr", "Test sqrt(-Inf) == NaN");
96 double y = sqrt(x);
104 atf_tc_set_md_var(tc, "descr", "Test sqrt(+Inf) == +Inf");
110 double y = sqrt(
[all...]
/freebsd-13-stable/contrib/cortex-strings/scripts/
H A Dbench.py113 loops = int(f / math.sqrt(max(1, mid)))
126 loops = int(f / math.sqrt(max(1, b)))
/freebsd-13-stable/usr.bin/bc/
H A Dscan.l144 "sqrt" return SQRT;
/freebsd-13-stable/usr.bin/primes/
H A Dprimes.c286 fact_lim = sqrt(start+1.0+TABSIZE+TABSIZE);
289 fact_lim = sqrt(stop+1.0);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h169 __DEVICE__ double sqrt(double);
170 __DEVICE__ float sqrt(float);
264 using ::sqrt;

Completed in 180 milliseconds

1234