Home
last modified time | relevance | path

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

/coreutils/gl/lib/
Drandint.c65 randint randmax; member
75 s->randnum = s->randmax = 0; in randint_new()
118 randint randmax = s->randmax; in randint_genmax() local
123 if (randmax < genmax) in randint_genmax()
129 randint rmax = randmax; in randint_genmax()
153 randmax = shift_left (randmax) + UCHAR_MAX; in randint_genmax()
156 while (randmax < genmax); in randint_genmax()
159 if (randmax == genmax) in randint_genmax()
161 s->randnum = s->randmax = 0; in randint_genmax()
176 randint excess_choices = randmax - genmax; in randint_genmax()
[all …]