Searched refs:sqrt (Results 26 - 50 of 116) sorted by relevance

12345

/freebsd-current/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerRandom.h28 size_t Res = static_cast<size_t>(sqrt(T));
/freebsd-current/lib/msun/src/
H A De_asinf.c58 s = sqrt(t);
H A Ds_ctanh.c134 rho = sqrt(1 + s * s); /* = cosh(x) */
H A De_j1.c21 * 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))
26 * = 1/sqrt(2) * (sin(x) - cos(x))
28 * = -1/sqrt(2) * (sin(x) + cos(x))
52 * y1(x) = sqrt(2/(pi*x))*(p1(x)*sin(x1)+q1(x)*cos(x1))
102 * j1(x) = 1/sqrt(pi) * (P(1,x)*cc - Q(1,x)*ss) / sqrt(x)
103 * y1(x) = 1/sqrt(pi) * (P(1,x)*ss + Q(1,x)*cc) / sqrt(x)
105 if(ix>0x48000000) z = (invsqrtpi*cc)/sqrt(
[all...]
H A De_j0.c21 * j0(x) = sqrt(2/(pi*x))*(p0(x)*cos(x0)-q0(x)*sin(x0))
25 * = 1/sqrt(2) * (cos(x) + sin(x))
27 * = 1/sqrt(2) * (sin(x) - cos(x))
51 * y0(x) = sqrt(2/(pi*x))*(p0(x)*cos(x0)+q0(x)*sin(x0))
101 * j0(x) = 1/sqrt(pi) * (P(0,x)*cc - Q(0,x)*ss) / sqrt(x)
102 * y0(x) = 1/sqrt(pi) * (P(0,x)*ss + Q(0,x)*cc) / sqrt(x)
104 if(ix>0x48000000) z = (invsqrtpi*cc)/sqrt(x);
107 z = invsqrtpi*(u*cc-v*ss)/sqrt(
[all...]
H A De_sqrtl.c70 * This is slow, but simple and portable. You should use hardware sqrt
84 /* If x = NaN, then sqrt(x) = NaN. */
85 /* If x = Inf, then sqrt(x) = Inf. */
86 /* If x = -Inf, then sqrt(x) = NaN. */
90 /* If x = +-0, then sqrt(x) = +-0. */
123 xn = sqrt(u.e); /* 53-bit estimate of sqrtl(x). */
H A De_asin.c24 * asin(x) = pi/2-2*asin(sqrt((1-x)/2))
25 * Let y = (1-x), z = y/2, s := sqrt(z), and pio2_hi+pio2_lo=pi/2;
31 * c = sqrt(z) - f = (z-f*f)/(s+f) ...f+c=sqrt(z)
95 s = sqrt(t);
H A De_jn.c78 * Jn(x) = cos(x-(2n+1)*pi/4)*sqrt(2/x*pi)
79 * Yn(x) = sin(x-(2n+1)*pi/4)*sqrt(2/x*pi)
81 * xn=x-(2n+1)*pi/4, sqt2 = sqrt(2), then
97 b = invsqrtpi*temp/sqrt(x);
236 * Jn(x) = cos(x-(2n+1)*pi/4)*sqrt(2/x*pi)
237 * Yn(x) = sin(x-(2n+1)*pi/4)*sqrt(2/x*pi)
239 * xn=x-(2n+1)*pi/4, sqt2 = sqrt(2), then
255 b = invsqrtpi*temp/sqrt(x);
/freebsd-current/contrib/arm-optimized-routines/pl/math/
H A Dasinh_2u5.c31 |x| < 2^511: Upper bound of this region is close to sqrt(DBL_MAX). Calculate
32 the result directly using the definition asinh(x) = ln(x + sqrt(x*x + 1)).
73 return asdouble (asuint64 (optr_aor_log_f64 (ax + sqrt (ax * ax + 1)))
H A Dacos_2u.c41 acos(x) ~ pi/2 - 2 * sqrt(z) (1 + z * P(z))
71 z2 = (1 - |x|) / 2 and z = sqrt(z2), if |x| >= 0.5. */
73 double z = ax < 0.5 ? ax : sqrt (z2);
H A Dasin_3u.c42 acos(y)/sqrt(2y) ~ 1 + 1/12 * y + 3/160 * y^2 + ... (1)
50 acos(y) ~ sqrt(2y) (1 + y/2 * P(y/2)) = 2 * sqrt(y/2) (1 + y/2 * P(y/2)
54 asin(x) ~ pi/2 - acos(x) ~ pi/2 - 2 * sqrt(z) (1 + z * P(z)).
78 z2 = (1 - |x|) / 2 and z = sqrt(z2), if |x| >= 0.5. */
80 double z = ax < 0.5 ? ax : sqrt (z2);
H A Derfinv_24u5.c73 double t = 1.0 / (sqrt (-log (1 - a)));
/freebsd-current/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-current/contrib/ntp/scripts/stats/
H A Dpeer.awk59 peer_time_rms[i] = sqrt(peer_time_rms[i] / peer_count[i] - peer_time[i] * peer_time[i])
/freebsd-current/contrib/bc/vs/tests/
H A Dtests_bc.bat52 sqrt
/freebsd-current/usr.bin/bc/
H A Dscan.l142 "sqrt" return SQRT;
/freebsd-current/usr.bin/primes/
H A Dprimes.c272 fact_lim = sqrt(start+1.0+TABSIZE+TABSIZE);
275 fact_lim = sqrt(stop+1.0);
/freebsd-current/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h172 __DEVICE__ double sqrt(double);
173 __DEVICE__ float sqrt(float);
267 using ::sqrt;
/freebsd-current/lib/msun/
H A DMakefile183 sinh.3 sinpi.3 sqrt.3 tan.3 tanh.3 tanpi.3 trunc.3 \
267 MLINKS+=sqrt.3 cbrt.3 sqrt.3 cbrtf.3 sqrt.3 cbrtl.3 sqrt.3 sqrtf.3 \
268 sqrt.3 sqrtl.3
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/hexagon/
H A Ddfsqrt.S70 Q6_ALIAS(sqrt)
72 FAST_ALIAS(sqrt)
74 FAST2_ALIAS(sqrt)
75 .type sqrt,@function
123 SF_S += sfmpy(SF_S,SF_D):lib // s1: refine sqrt
135 // cool trick: half of 1/sqrt(x) has same mantissa as 1/sqrt(x).
/freebsd-current/contrib/ntp/scripts/
H A Dsummary.in168 $loop_time_rms = sqrt($loop_time_rms);
175 $loop_freq_rms = sqrt($loop_freq_rms);
263 eval { $peer_time_rms{$i} = sqrt($peer_time_rms{$i} / $peer_count{$i} -
356 eval { $peer_var{$i} = sqrt($peer_var{$i} / $peer_count{$i} -
/freebsd-current/tools/tools/tscdrift/
H A Dtscdrift.c179 stddev[i] = sqrt(sumsq);
/freebsd-current/usr.bin/ministat/
H A Dministat.c228 return sqrt(Var(ds));
261 spool = sqrt(spool);
262 s = spool * sqrt(1.0 / ds->n + 1.0 / rs->n);
269 re = t * sqrt(re);
/freebsd-current/sbin/ping/
H A Dmain.c238 double stddev = sqrt(fmax(0, tsumsq / num - avg * avg));
/freebsd-current/contrib/llvm-project/libcxx/include/__random/
H A Dstudent_t_distribution.h99 return __nd_(__g) * std::sqrt(__p.n() / __gd(__g));

Completed in 357 milliseconds

12345