Searched refs:sqrt (Results 51 - 75 of 116) sorted by relevance

12345

/freebsd-current/contrib/ntp/clockstuff/
H A Dpropdelay.c63 extern double sqrt (double);
543 dist = sqrt(k1*k1 + k2*k2);
/freebsd-current/contrib/llvm-project/libcxx/include/__random/
H A Dpoisson_distribution.h122 __s_ = std::sqrt(__mean_);
195 __py = .3989423 / std::sqrt(__tx);
H A Dgamma_distribution.h117 const result_type __y = std::sqrt(__c / __w) * (__u - result_type(0.5));
H A Dnormal_distribution.h126 result_type __fp = std::sqrt(-2 * std::log(__s) / __s);
/freebsd-current/contrib/llvm-project/clang/lib/Headers/openmp_wrappers/
H A Dcomplex_cmath.h118 // sqrt
121 __DEVICE__ std::complex<_Tp> sqrt(const std::complex<_Tp> &__x) { function in namespace:std
132 return polar(sqrt(abs(__x)), arg(__x) / _Tp(2));
194 std::complex<_Tp> __z = log(__x + sqrt(__sqr(__x) + _Tp(1)));
227 std::complex<_Tp> __z = log(__x + sqrt(__sqr(__x) - _Tp(1)));
350 std::complex<_Tp> __z = log(__x + sqrt(__sqr(__x) - _Tp(1)));
/freebsd-current/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_cmath.h174 __DEVICE__ float sqrt(float __x) { return ::sqrtf(__x); } function
296 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, sqrt)
427 using ::sqrt;
H A Dtgmath.h493 // sqrt
501 __tg_sqrt(double __x) {return sqrt(__x);}
519 #undef sqrt macro
520 #define sqrt(__x) __tg_sqrt(__tg_promote1((__x))(__x)) macro
H A D__clang_hip_cmath.h250 __DEF_FUN1(float, sqrt)
538 __HIP_OVERLOAD1(double, sqrt)
715 using ::sqrt;
/freebsd-current/tools/regression/include/tgmath/
H A Dtgmath.c97 TGMACRO(sqrt)
467 PRINT("sqrt",
468 PASS_REAL_ARG_REAL_RET(sqrt) &&
469 PASS_COMPLEX_ARG_COMPLEX_RET(sqrt));
/freebsd-current/contrib/llvm-project/clang/lib/Headers/hlsl/
H A Dhlsl_intrinsics.h571 // sqrt builtins
575 half sqrt(half In);
579 float sqrt(float In);
582 double sqrt(double In);
/freebsd-current/include/
H A Dtgmath.h156 #define sqrt(x) __tg_full(x, sqrt) macro
/freebsd-current/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.cpp264 return {Intrinsic::sqrt, FTZ_Any};
270 return {Intrinsic::sqrt, FTZ_Any};
/freebsd-current/contrib/llvm-project/libcxx/include/
H A Dmath.h122 floating_point sqrt (arithmetic x);
496 using std::__math::sqrt;
/freebsd-current/contrib/ntp/ntpd/
H A Drefclock_wwv.c1121 sp->amp = sqrt(ciamp * ciamp + cqamp * cqamp) / SYNCYC;
1149 rp->amp = sqrt(hiamp * hiamp + hqamp * hqamp) / SYNCYC;
1227 mfsync = sqrt(csiamp * csiamp + csqamp * csqamp) /
1230 mfsync = sqrt(hsiamp * hsiamp + hsqamp * hsqamp) /
1661 engmax = sqrt(up->irig * up->irig + up->qrig *
1700 engmin = sqrt(up->irig * up->irig + up->qrig *
H A Dntpsim.c631 return (m + s * sqrt(-2. * log(q1)) * cos(2. * PI * q2));
/freebsd-current/contrib/ntp/sntp/libevent/test/
H A Dtest-ratelim.c545 printf(" stddev: %f per second\n", sqrt(variance));
547 sqrt(variance) > cfg_stddev_tolerance) {
/freebsd-current/contrib/libevent/test/
H A Dtest-ratelim.c545 printf(" stddev: %f per second\n", sqrt(variance));
547 sqrt(variance) > cfg_stddev_tolerance) {
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-graph.cpp417 std::sqrt(S.getDouble(EC) / G.GraphEdgeMax.getDouble(EC)))
437 std::sqrt(VA.S.getDouble(VC) / G.GraphVertexMax.getDouble(VC)))
/freebsd-current/lib/msun/src/
H A Dmath.h141 #define M_2_SQRTPI 1.12837916709551257390 /* 2/sqrt(pi) */
142 #define M_SQRT2 1.41421356237309504880 /* sqrt(2) */
143 #define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */
156 #define M_2_SQRTPIl 1.128379167095512573896158903121545172L /* 2/sqrt(pi) */
157 #define M_SQRT2l 1.414213562373095048801688724209698079L /* sqrt(2) */
158 #define M_SQRT1_2l 0.707106781186547524400844362104849039L /* 1/sqrt(2) */
261 double sqrt(double);
H A De_pow.c156 return sqrt(x);
216 if(j<=0x3988E) k=0; /* |x|<sqrt(3/2) */
217 else if(j<0xBB67A) k=1; /* |x|<sqrt(3) */
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp794 B, CI, Intrinsic::sqrt, true, true, /*AllowStrictFP=*/false);
947 // pow[r](x, [-]0.5) = sqrt(x)
1165 if (ci_opr1 == 2) { // rootn(x, 2) = sqrt(x)
1168 LLVM_DEBUG(errs() << "AMDIC: " << *FPOp << " ---> sqrt(" << *opr0
1447 // acosh(x) == log(x + sqrt(x*x - 1))
1448 Res0 = log(opr0 + sqrt(opr0*opr0 - 1.0));
1460 // asinh(x) == log(x + sqrt(x*x + 1))
1461 Res0 = log(opr0 + sqrt(opr0*opr0 + 1.0));
1522 Res0 = 1.0 / sqrt(opr0);
H A DAMDGPUInstCombineIntrinsic.cpp440 /// Return true if it's legal to contract llvm.amdgcn.rcp(llvm.sqrt)
484 // llvm.amdgcn.rcp(llvm.amdgcn.sqrt(x)) -> llvm.amdgcn.rsq(x) if contractable
486 // llvm.amdgcn.rcp(llvm.sqrt(x)) -> llvm.amdgcn.rsq(x) if contractable and
488 if (IID == Intrinsic::amdgcn_sqrt || IID == Intrinsic::sqrt) {
494 if (IID == Intrinsic::sqrt && !canContractSqrtToRsq(SqrtOp))
520 // f16 amdgcn.sqrt is identical to regular sqrt.
523 II.getModule(), Intrinsic::sqrt, {II.getType()});
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp373 case Intrinsic::sqrt: {
374 ReplaceFPIntrinsicWithCall(CI, "sqrtf", "sqrt", "sqrtl");
/freebsd-current/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerFork.cpp140 std::min(Files.size(), (size_t)sqrt(Files.size() + 2))) {
/freebsd-current/contrib/lua/src/
H A Dlmathlib.c157 lua_pushnumber(L, l_mathop(sqrt)(luaL_checknumber(L, 1)));
724 {"sqrt", math_sqrt},

Completed in 222 milliseconds

12345