Searched refs:decimal_chance (Results 1 – 3 of 3) sorted by relevance
327 return int(x) + decimal_chance(fmod(x, 1.0)); in rand_round()426 return !decimal_chance(pow(1 - trial_prob, n_trials)); in bernoulli()453 bool decimal_chance(double chance) in decimal_chance() function
39 if (decimal_chance(fracpart)) in stepdown()
95 bool decimal_chance(double percent);