Lines Matching defs:denom
69 double denom;
76 denom = 0.;
124 denom = (randomize_lines ? 1. : 2.);
128 denom = strtod(*argv, &ep);
131 if (denom < 1. || *ep != '\0')
133 if (random_exit && denom > 256.)
155 ret = randomize_fd(fd, random_type, unique_output, denom);
160 /* Compute a random exit status between 0 and denom - 1. */
162 return (arc4random_uniform(denom));
165 * Filter stdin, selecting lines with probability 1/denom, one
169 selected = random_uniform_denom(denom);