Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Redraw if the random number is too close to max, to avoid modulo bias
authorYann Duplouy <yann.duplouy@inria.fr>
Wed, 27 Nov 2019 15:07:43 +0000 (16:07 +0100)
committerYann Duplouy <yann.duplouy@inria.fr>
Wed, 27 Nov 2019 15:24:08 +0000 (16:24 +0100)
commita5a63cee9b36d804e5442b421f1c3c3562b7a8ac
treef962b5f3fa650ddce5a72414633dc04ce78a5f69
parent60ab8e027113c47dbf0f922f79fd439844233d23
Redraw if the random number is too close to max, to avoid modulo bias

See framagit issue 43.
src/xbt/random.cpp