Searched refs:rand_range (Results 1 – 2 of 2) sorted by relevance
42 static long rand_range(long min, long max) in rand_range() function89 rval = (min > max) ? rand_range(max, min) : rand_range(min, max); in main()
950 const uint32_t rand_range = (*num_used - 1) * (*num_used); in HistogramCombineStochastic() local959 const uint32_t tmp = MyRand(&seed) % rand_range; in HistogramCombineStochastic()