Lines Matching refs:denom
65 double denom;
69 denom = 0;
90 denom = 2;
94 denom = strtod(*argv, &ep);
97 if (denom == 0 || *ep != '\0')
105 /* Compute a random exit status between 0 and denom - 1. */
107 return arc4random_uniform(denom);
118 * We find a random number between 0 and denom - 1 and, if it's
119 * 0 (which has a 1 / denom chance of being true), we select the
122 selected = (arc4random_uniform(denom) == 0);
132 selected = (arc4random_uniform(denom) == 0);