Home
last modified time | relevance | path

Searched refs:FRAND32_MAX (Results 1 – 4 of 4) sorted by relevance

/external/fio/lib/
Drand.h9 #define FRAND32_MAX (-1U) macro
33 return FRAND32_MAX; in rand_max()
114 return (val + 1.0) / (FRAND32_MAX + 1.0); in __rand_0_1()
128 return start + (int) ((double)end * (r / (FRAND32_MAX + 1.0))); in rand32_between()
Dzipf.c61 rand_uni = (double) __rand(&zs->rand) / (double) FRAND32_MAX; in zipf_next()
88 double rand = (double) __rand(&zs->rand) / (double) FRAND32_MAX; in pareto_next()
Dgauss.c18 vr = gs->stddev * (r / (FRAND32_MAX + 1.0)); in gauss_dev()
/external/fio/
Dfilesetup.c1184 if (blocks <= FRAND32_MAX) in check_rand_gen_limits()