Searched refs:lg2 (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/io/n2rng/
H A Dn2rng_entp_algs.c75 * lg2 computes 2^(LOG_VAL_SCALE) * log2(x/2^LOG_ARG_SCALE), where ^
84 lg2(uint64_t x) function
254 shannonsum -= (count * (lg2(count) +
271 shannonsum -= (count * (lg2(count) +
281 entp->H2 = -(lg2(sqsum) +
284 entp->Hinf = -(lg2(largestcount) +

Completed in 56 milliseconds