Searched refs:rand_z (Results 1 – 1 of 1) sorted by relevance
55 double alpha, eta, rand_uni, rand_z; in zipf_next() local63 rand_z = rand_uni * zs->zetan; in zipf_next()65 if (rand_z < 1.0) in zipf_next()67 else if (rand_z < (1.0 + pow(0.5, zs->theta))) in zipf_next()