Home
last modified time | relevance | path

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

/coreutils/gl/lib/
Drandint.c39 randint choices = strtoumax (argv[2], nullptr, 10); in main() local
44 printf ("%ju\n", randint_choose (ints, choices)); in main()
119 randint choices = genmax + 1; in randint_genmax() local
177 randint unusable_choices = excess_choices % choices; in randint_genmax()
179 randint reduced_randnum = randnum % choices; in randint_genmax()
183 s->randnum = randnum / choices; in randint_genmax()
184 s->randmax = excess_choices / choices; in randint_genmax()
Drandint.h50 randint_choose (struct randint_source *s, randint choices) in randint_choose() argument
52 return randint_genmax (s, choices - 1); in randint_choose()