/freebsd-11-stable/lib/msun/src/ |
H A D | e_log2.c | 23 * log2(x) = (f - 0.5*f*f + k_log1p(f)) / ln2 + k 116 __weak_reference(log2, log2l);
|
H A D | math.h | 283 double log2(double);
|
H A D | math_private.h | 742 #define __ieee754_log2 log2
|
/freebsd-11-stable/lib/msun/tests/ |
H A D | logarithm_test.c | 87 test(log2, x, result, exceptmask, excepts); \ 137 * We should insist that log2() return exactly the correct 146 assert(log2(ldexp(1.0, i)) == i); 173 test(log2, 1.0, 0.0, ALL_STD_EXCEPT, 0); 226 test_tol(log2, tests[i].x, tests[i].log2x, DBL_ULP());
|
/freebsd-11-stable/sys/amd64/vmm/ |
H A D | x86.c | 76 * Round up to the next power of two, if necessary, and then take log2. 80 log2(u_int x) function 157 width = MIN(0xF, log2(threads * cores)); 286 (vcpu_id >> log2(threads + 1)); 475 width = log2(logical_cpus); 482 width = log2(logical_cpus);
|
/freebsd-11-stable/contrib/gcc/ |
H A D | tree-phinodes.c | 181 int log2, new_len; local 191 log2 = ceil_log2 (size); 192 new_size = 1 << log2;
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Headers/ |
H A D | __clang_cuda_math_forward_declares.h | 151 __DEVICE__ double log2(double); 152 __DEVICE__ float log2(float); 270 using ::log2;
|
H A D | __clang_cuda_cmath.h | 252 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(double, log2) 382 using ::log2;
|
H A D | tgmath.h | 955 // log2 963 __tg_log2(double __x) {return log2(__x);} 969 #undef log2 macro 970 #define log2(__x) __tg_log2(__tg_promote1((__x))(__x)) macro
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libm/ |
H A D | t_log.c | 413 * log2(3) 418 atf_tc_set_md_var(tc, "descr", "Test log2(2) == 1"); 423 ATF_CHECK(log2(2.0) == 1.0); 429 atf_tc_set_md_var(tc, "descr", "Test log2(NaN) == NaN"); 437 ATF_CHECK(isnan(log2(x)) != 0); 443 atf_tc_set_md_var(tc, "descr", "Test log2(-Inf) == NaN"); 449 const double y = log2(x); 457 atf_tc_set_md_var(tc, "descr", "Test log2(+Inf) == +Inf"); 464 ATF_CHECK(log2(x) == x); 470 atf_tc_set_md_var(tc, "descr", "Test log2(1. [all...] |
/freebsd-11-stable/contrib/libstdc++/include/tr1/ |
H A D | math.h | 75 using std::tr1::log2;
|
/freebsd-11-stable/include/ |
H A D | tgmath.h | 186 #define log2(x) __tg_simple(x, log2) macro
|
/freebsd-11-stable/sys/arm/xscale/ixp425/ |
H A D | ixp425_qmgr.c | 920 log2(unsigned n) function 935 return log2(entrySize); 942 return log2(bufferSizeInWords / IX_QMGR_MIN_BUFFER_SIZE); 952 return log2(2 * watermark);
|
/freebsd-11-stable/contrib/gcc/config/sparc/ |
H A D | lb1spc.asm | 107 * equal to ceil(log2(quotient) / N). Note that this 113 * ceil(log2(quotient) / N) * (10 + 7N/2) + C 456 * equal to ceil(log2(quotient) / N). Note that this 462 * ceil(log2(quotient) / N) * (10 + 7N/2) + C
|
/freebsd-11-stable/tools/regression/include/tgmath/ |
H A D | tgmath.c | 134 TGMACRO_REAL(log2) 549 PRINT("log2", 550 PASS_REAL_ARG_REAL_RET(log2));
|
/freebsd-11-stable/contrib/lua/src/ |
H A D | lmathlib.c | 188 res = l_mathop(log2)(x); else
|
/freebsd-11-stable/sys/netinet/ |
H A D | sctputil.c | 87 sctp_clog.x.misc.log2, 113 sctp_clog.x.misc.log2, 132 sctp_clog.x.misc.log2, 154 sctp_clog.x.misc.log2, 175 sctp_clog.x.misc.log2, 196 sctp_clog.x.misc.log2, 216 sctp_clog.x.misc.log2, 236 sctp_clog.x.misc.log2, 264 sctp_clog.x.misc.log2, 306 sctp_clog.x.misc.log2, [all...] |
/freebsd-11-stable/sys/arm/arm/ |
H A D | cpufunc_asm_armv7.S | 329 lsl r2, r2, r0 @ shift sets by log2(linesize)
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULibCalls.cpp | 121 // log2 861 static double log2(double V) { function in namespace:llvm 863 return ::log2(V); 1016 // powr ---> exp2(y * log2(x)) 1035 V = log2(std::abs(V)); 1060 V = log2(std::abs(V)); 1149 << "exp2(" << *opr1 << " * log2(" << *opr0 << "))\n");
|
/freebsd-11-stable/contrib/llvm-project/libcxx/include/ |
H A D | math.h | 228 floating_point log2 (arithmetic x); 1375 // log2 1377 inline _LIBCPP_INLINE_VISIBILITY float log2(float __lcpp_x) _NOEXCEPT {return ::log2f(__lcpp_x);} 1378 inline _LIBCPP_INLINE_VISIBILITY long double log2(long double __lcpp_x) _NOEXCEPT {return ::log2l(__lcpp_x);} 1383 log2(_A1 __lcpp_x) _NOEXCEPT {return ::log2((double)__lcpp_x);}
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 1473 /// exp10(x) for pow(10.0, x); exp2(log2(n) * x) for pow(n, x). 1591 // pow(n, x) -> exp2(log2(n) * x) 1596 Log = ConstantFP::get(Ty, std::log2(BaseF->convertToFloat())); 1598 Log = ConstantFP::get(Ty, std::log2(BaseF->convertToDouble())); 1880 // This is only applicable to log(), log2(), log10(). 1905 LogID = Intrinsic::log2; 1912 LogID = Intrinsic::log2; 1919 LogID = Intrinsic::log2; 1949 else if (LogID == Intrinsic::log || LogID == Intrinsic::log2 || 3082 case Intrinsic::log2 [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | IntrinsicLowering.cpp | 383 case Intrinsic::log2: { 384 ReplaceFPIntrinsicWithCall(CI, "log2f", "log2", "log2l");
|
/freebsd-11-stable/lib/msun/ |
H A D | Makefile | 228 log.3 log2.3 log.3 log2f.3 log.3 log2l.3
|
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | kernel.h | 52 #include <linux/log2.h>
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 552 // log2(X * 0.5) * Y = log2(X) * Y - Y 555 if (match(Op0, m_OneUse(m_Intrinsic<Intrinsic::log2>( 560 if (match(Op1, m_OneUse(m_Intrinsic<Intrinsic::log2>( 1074 // sdiv exact X, C --> ashr exact X, log2(C)
|