[SR-11459] Improve documentation for requirements of RandomNumberGenerator #53860
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
documentation
standard library
Area: Standard library umbrella
Additional Detail from JIRA
md5: 0d16f7f5ecdd5bcd2daff9d2024c6935
Issue Description:
The documentation currently states:
This is completely correct and fully specifies the behavior, but we should probably be a little bit more clear that in order to function correctly, it must generate all possible `UInt64` values (or equivalently that each bit is uniformly 0 or 1). Ideally we should give some examples of things that are not acceptable implementations (e.g. calling `rand()` or `lrand48()` and converting the result to `UInt64`).
Spun off from SR-11447
The text was updated successfully, but these errors were encountered: