I'm just looking for some Win32 service I could use to get (pseudo) random floating point numbers (8 byte floats) between 0.0 and 1.0.
I've found BCryptOpenAlgorithmProvider, which I guess must be used with BCRYPT_RNG_ALGORITHM. But I'm not sure whether this is the appropriate service.
What I need is to generate a Uniform Probability Distribution in the Real interval (0, 1).
Aucun commentaire:
Enregistrer un commentaire