Home
last modified time | relevance | path

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

/external/lua/src/
Dlmathlib.c26 #if !defined(l_rand) /* { */
28 #define l_rand() random() macro
32 #define l_rand() rand() macro
249 double r = (double)l_rand() * (1.0 / ((double)L_RANDMAX + 1.0)); in math_random()
279 (void)l_rand(); /* discard first value to avoid undesirable correlations */ in math_randomseed()