Home
last modified time | relevance | path

Searched refs:rand_max (Results 1 - 2 of 2) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/builtin-objects/
H A Decma-builtin-math.c325 const ecma_number_t rand_max = (ecma_number_t) RAND_MAX; in ecma_builtin_math_object_random() local
328 return ecma_make_number_value (((ecma_number_t) rand ()) / rand_max * rand_max_min_1 / rand_max); in ecma_builtin_math_object_random()
/third_party/tzdata/
H A Dzic.c1268 uint_fast64_t rand_max = RAND_MAX, in get_rand_u64() local
1269 nrand = rand_max < UINT_FAST64_MAX ? rand_max + 1 : 0, in get_rand_u64()
1281 rmax1 = nrand * rmax1 + rand_max; in get_rand_u64()

Completed in 6 milliseconds