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

/illumos-gate/usr/src/uts/sun4v/io/n2rng/
H A Dn2rng_entp_algs.c235 n2rng_renyi_entropy(uint64_t *samples, int lg2samples, n2rng_osc_perf_t *entp) argument
245 n2rng_sort(samples, lg2samples);
247 for (i = 1; i < (1 << lg2samples); i++) {
255 ((int64_t)(LOG_ARG_SCALE - lg2samples) <<
256 LOG_VAL_SCALE))) >> lg2samples;
272 ((int64_t)(LOG_ARG_SCALE - lg2samples) << LOG_VAL_SCALE))) >>
273 lg2samples;
282 ((int64_t)(LOG_ARG_SCALE - 2 * lg2samples) << LOG_VAL_SCALE)) / 64;
285 ((int64_t)(LOG_ARG_SCALE - lg2samples) << LOG_VAL_SCALE)) / 64;

Completed in 55 milliseconds