Menu

#257 Improve random number generator

Backlog
open
nobody
None
nobody
2024-08-09
2024-08-09
Ulf Lorenz
No

As it happens, I have recently heard a talk that said feeding a RNG with a number is not a good idea; you want to hash the number first. That should maybe be added: The user seed is not used directly, but hashed first.

Attention: std::hash() is not guaranteed to hash anything.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.