jeudi 11 août 2016

Method for generating a random bitset of uniform distribution

How can I generate a bitset whose length is a multiple of 8 (corresponding to a standard data type) wherein each bit is 0 or 1 with equal probability?




Aucun commentaire:

Enregistrer un commentaire