diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/global/qrandom.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/corelib/global/qrandom.cpp b/src/corelib/global/qrandom.cpp index 3ab91eee20..fb20f459b5 100644 --- a/src/corelib/global/qrandom.cpp +++ b/src/corelib/global/qrandom.cpp @@ -467,9 +467,12 @@ static Q_NEVER_INLINE void fill(void *buffer, void *bufferEnd) Additionally, it provides a floating-point function getReal() that returns a number in the range [0, 1) (that is, inclusive of zero and exclusive of - 1). There's also a set of convenience functions that facilitate obtaininga + 1). There's also a set of convenience functions that facilitate obtaining a random number in a bounded, integral range. + \warning This class is not suitable for bulk data creation. See below for the + technical reasons. + \section1 Frequency and entropy exhaustion QRandomGenerator does not need to be seeded and instead uses operating system |