Searched refs:RAND_M (Results 1 – 1 of 1) sorted by relevance
1740 #define RAND_M (714025) macro1761 if ((*seedp=(RAND_IC-(*seedp)) % RAND_M) < 0) *seedp = -(*seedp); in random()1763 *seedp=(RAND_IA*(*seedp)+RAND_IC) % RAND_M; in random()1766 *seedp=(RAND_IA*(*seedp)+RAND_IC) % RAND_M; in random()1769 j=(int32_t)(1 + 97.0*iy/RAND_M); in random()1772 *seedp=(RAND_IA*(*seedp)+RAND_IC) % RAND_M; in random()1774 return (float) iy/RAND_M; in random()