Home
last modified time | relevance | path

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

/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/
H A Drandom.cc327 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
H A Dstepdown.cc39 if (decimal_chance(fracpart)) in stepdown()
H A Drandom.h95 bool decimal_chance(double percent);