From header <random>, there is an engine called std::minstd_rand.
Are the bounds for this engines random numbers inclusive or exclusive? It's got min and max functions, but I specifically want to know whether the random simulation can equal min or max, as opposed to just be bounded by them.
Documentation uses the word "between", which is of course not unambigous.
Aucun commentaire:
Enregistrer un commentaire