Home
last modified time | relevance | path

Searched refs:log2 (Results 1 – 25 of 75) sorted by relevance

123

/freebsd-12.1/sys/amd64/vmm/
H A Dx86.c82 log2(u_int x) in log2() function
159 width = MIN(0xF, log2(threads * cores)); in x86_emulate_cpuid()
288 (vcpu_id >> log2(threads + 1)); in x86_emulate_cpuid()
477 width = log2(logical_cpus); in x86_emulate_cpuid()
484 width = log2(logical_cpus); in x86_emulate_cpuid()
/freebsd-12.1/lib/msun/tests/
H A Dlogarithm_test.c87 test(log2, x, result, exceptmask, excepts); \
146 assert(log2(ldexp(1.0, i)) == i); in run_log2_tests()
173 test(log2, 1.0, 0.0, ALL_STD_EXCEPT, 0); in run_roundingmode_tests()
226 test_tol(log2, tests[i].x, tests[i].log2x, DBL_ULP()); in run_accuracy_tests()
/freebsd-12.1/contrib/netbsd-tests/lib/libm/
H A Dt_log.c423 ATF_CHECK(log2(2.0) == 1.0); in ATF_TC_BODY()
437 ATF_CHECK(isnan(log2(x)) != 0); in ATF_TC_BODY()
449 const double y = log2(x); in ATF_TC_BODY()
464 ATF_CHECK(log2(x) == x); in ATF_TC_BODY()
475 const double x = log2(1.0); in ATF_TC_BODY()
493 ATF_CHECK(log2(x) == -HUGE_VAL); in ATF_TC_BODY()
506 ATF_CHECK(log2(x) == -HUGE_VAL); in ATF_TC_BODY()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h133 __DEVICE__ double log2(double);
134 __DEVICE__ float log2(float);
249 using ::log2;
H A D__clang_cuda_cmath.h243 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, log2)
373 using ::log2;
H A Dtgmath.h979 __tg_log2(double __x) {return log2(__x);} in __tg_log2()
985 #undef log2
986 #define log2(__x) __tg_log2(__tg_promote1((__x))(__x)) macro
/freebsd-12.1/contrib/gcc/
H A Dtree-phinodes.c181 int log2, new_len; in ideal_phi_node_len() local
191 log2 = ceil_log2 (size); in ideal_phi_node_len()
192 new_size = 1 << log2; in ideal_phi_node_len()
/freebsd-12.1/lib/msun/src/
H A De_log2.c116 __weak_reference(log2, log2l);
H A Dmath.h278 double log2(double);
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXInstrFormats.td44 // The following field is encoded as log2 of the vector size minus one,
/freebsd-12.1/contrib/libstdc++/include/tr1/
H A Dcmath100 #undef log2
239 using ::log2;
682 log2(float __x)
686 log2(long double __x)
691 log2(_Tp __x)
694 return log2(__type(__x));
H A Dmath.h75 using std::tr1::log2;
/freebsd-12.1/include/
H A Dtgmath.h188 #define log2(x) __tg_simple(x, log2) macro
/freebsd-12.1/crypto/openssl/doc/man3/
H A DBN_num_bytes.pod23 Basically, except for a zero, it returns I<floor(log2(w))+1>.
/freebsd-12.1/lib/msun/
H A DSymbol.map228 log2;
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DAttributes.td15 /// Alignment of parameter (5 bits) stored as log2 of alignment with +1 bias.
145 /// Alignment of stack for function (3 bits) stored as log2 of alignment with
/freebsd-12.1/sys/netinet/
H A Dsctputil.c90 sctp_clog.x.misc.log2, in sctp_sblog()
116 sctp_clog.x.misc.log2, in sctp_log_closing()
135 sctp_clog.x.misc.log2, in rto_logging()
157 sctp_clog.x.misc.log2, in sctp_log_strm_del_alt()
178 sctp_clog.x.misc.log2, in sctp_log_nagle_event()
199 sctp_clog.x.misc.log2, in sctp_log_sack()
219 sctp_clog.x.misc.log2, in sctp_log_map()
239 sctp_clog.x.misc.log2, in sctp_log_fr()
267 sctp_clog.x.misc.log2, in sctp_log_mb()
309 sctp_clog.x.misc.log2, in sctp_log_strm_del()
[all …]
/freebsd-12.1/contrib/ntp/ntpq/
H A Dntpq-opts.def741 stratum, log2 precision, root delay, root dispersion,
817 precision (log2 s)
832 time constant and poll exponent (log2 s) (3-17)
834 minimum time constant (log2 s) (3-10)
906 precision (log2 s)
927 host poll exponent (log2 s) (3-17)
929 peer poll exponent (log2 s) (3-17)
H A Dinvoke-ntpq.texi631 stratum, log2 precision, root delay, root dispersion,
707 precision (log2 s)
722 time constant and poll exponent (log2 s) (3-17)
724 minimum time constant (log2 s) (3-10)
796 precision (log2 s)
817 host poll exponent (log2 s) (3-17)
819 peer poll exponent (log2 s) (3-17)
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp149 case Intrinsic::log2: in AddPrototypes()
522 case Intrinsic::log2: { in LowerIntrinsicCall()
/freebsd-12.1/tools/regression/include/tgmath/
H A Dtgmath.c134 TGMACRO_REAL(log2) in TGMACRO_REAL_FIXED_RET()
550 PASS_REAL_ARG_REAL_RET(log2)); in main()
/freebsd-12.1/contrib/libc++/include/
H A Dmath.h1330 inline _LIBCPP_INLINE_VISIBILITY float log2(float __lcpp_x) _NOEXCEPT {return ::log2f(_… in log2() function
1331 inline _LIBCPP_INLINE_VISIBILITY long double log2(long double __lcpp_x) _NOEXCEPT {return ::log2l(_… in log2() function
1336 log2(_A1 __lcpp_x) _NOEXCEPT {return ::log2((double)__lcpp_x);} in log2() function
H A Dcmath236 floating_point log2 (arithmetic x);
430 using ::log2;
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp850 static double log2(double V) { in log2() function
852 return ::log2(V); in log2()
1023 V = log2(std::abs(V)); in fold_pow()
1048 V = log2(std::abs(V)); in fold_pow()
/freebsd-12.1/contrib/lua/src/
H A Dlmathlib.c188 res = l_mathop(log2)(x); else in math_log()

123