Searched refs:log2 (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-10-stable/lib/msun/src/
H A De_log2.c23 * log2(x) = (f - 0.5*f*f + k_log1p(f)) / ln2 + k
116 __weak_reference(log2, log2l);
H A Dmath.h288 double log2(double);
H A Dmath_private.h687 #define __ieee754_log2 log2
/freebsd-10-stable/lib/msun/tests/
H A Dlogarithm_test.c86 test(log2, x, result, exceptmask, excepts); \
136 * We should insist that log2() return exactly the correct
145 assert(log2(ldexp(1.0, i)) == i);
172 test(log2, 1.0, 0.0, ALL_STD_EXCEPT, 0);
225 test_tol(log2, tests[i].x, tests[i].log2x, DBL_ULP());
/freebsd-10-stable/contrib/gcc/
H A Dtree-phinodes.c181 int log2, new_len; local
191 log2 = ceil_log2 (size);
192 new_size = 1 << log2;
/freebsd-10-stable/sys/amd64/vmm/
H A Dx86.c77 * Round up to the next power of two, if necessary, and then take log2.
81 log2(u_int x) function
392 width = log2(logical_cpus);
400 width = log2(logical_cpus);
/freebsd-10-stable/contrib/netbsd-tests/lib/libm/
H A Dt_log.c413 * 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-10-stable/contrib/libstdc++/include/tr1/
H A Dmath.h75 using std::tr1::log2;
/freebsd-10-stable/contrib/llvm/include/llvm/Target/
H A DTargetLibraryInfo.h359 /// double log2(double x);
360 log2, enumerator in enum:llvm::LibFunc::Func
712 case LibFunc::log2: case LibFunc::log2f: case LibFunc::log2l:
/freebsd-10-stable/lib/msun/
H A DSymbol.map228 log2;
H A DMakefile201 log.3 log2.3 log.3 log2f.3 log.3 log2l.3
/freebsd-10-stable/include/
H A Dtgmath.h186 #define log2(x) __tg_simple(x, log2) macro
/freebsd-10-stable/sys/arm/xscale/ixp425/
H A Dixp425_qmgr.c923 log2(unsigned n) function
938 return log2(entrySize);
945 return log2(bufferSizeInWords / IX_QMGR_MIN_BUFFER_SIZE);
955 return log2(2 * watermark);
/freebsd-10-stable/sys/ofed/include/linux/
H A Dkernel.h49 #include <linux/log2.h>
/freebsd-10-stable/contrib/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp149 case Intrinsic::log2:
150 EnsureFPIntrinsicsExist(M, I, "log2f", "log2", "log2l");
510 case Intrinsic::log2: {
511 ReplaceFPIntrinsicWithCall(CI, "log2f", "log2", "log2l");
H A DBasicTargetTransformInfo.cpp455 case Intrinsic::log2: ISD = ISD::FLOG2; break;
/freebsd-10-stable/tools/regression/include/tgmath/
H A Dtgmath.c134 TGMACRO_REAL(log2)
549 PRINT("log2",
550 PASS_REAL_ARG_REAL_RET(log2));
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Headers/
H A Dtgmath.h962 // log2
970 __tg_log2(double __x) {return log2(__x);}
976 #undef log2 macro
977 #define log2(__x) __tg_log2(__tg_promote1((__x))(__x)) macro
/freebsd-10-stable/sys/netinet/
H A Dsctputil.c80 sctp_clog.x.misc.log2,
104 sctp_clog.x.misc.log2,
121 sctp_clog.x.misc.log2,
141 sctp_clog.x.misc.log2,
160 sctp_clog.x.misc.log2,
179 sctp_clog.x.misc.log2,
197 sctp_clog.x.misc.log2,
215 sctp_clog.x.misc.log2,
241 sctp_clog.x.misc.log2,
282 sctp_clog.x.misc.log2,
[all...]
H A Dsctp_uio.h883 uint32_t log2; member in struct:sctp_misc_info
/freebsd-10-stable/sys/arm/arm/
H A Dcpufunc_asm_armv7.S346 lsl r2, r2, r0 @ shift sets by log2(linesize)
/freebsd-10-stable/contrib/llvm/lib/Analysis/
H A DConstantFolding.cpp1184 case Intrinsic::log2:
1371 case Intrinsic::log2:
1372 return ConstantFoldFP(log2, V, Ty);
/freebsd-10-stable/contrib/llvm/lib/Target/PowerPC/
H A DPPCCTRLoops.cpp255 case Intrinsic::log2:
/freebsd-10-stable/contrib/llvm/lib/Target/
H A DTargetLibraryInfo.cpp195 "log2",
458 TLI.setUnavailable(LibFunc::log2);
/freebsd-10-stable/sys/dev/cxgb/common/
H A Dcxgb_t3_hw.c3434 unsigned int log2 = fls(mtu); local
3436 if (!(mtu & ((1 << log2) >> 2))) /* round */
3437 log2--;
3439 (i << 24) | (log2 << 16) | mtu);

Completed in 244 milliseconds

12