sincerely
Singaporean
If you have not done so, read this full tutorial on how to use SGEXTN to build an application.
class SGXRandomNumberGenerator;
part of SGEXTN module SG_Core
random number generation utility
list of all including inherited members
preprocessor file inclusion directive: #include ‹SGXRandomNumberGenerator.h›
CMake target for BuildLah: SGEXTN::SG_Core
see this link for more information about BuildLah
parent class: (none)
children classes: (none)
static double rng0To1();
static unsigned int rngInt32();
static unsigned long long rngInt64();
SGXRandomNumberGenerator provides evenly distributed floating point numbers between 0 and 1, unsigned ints, and unsigned long longs.
wrapper of QRandomGenerator
Returns a randomly generated floating point number between 0 to 1, an even distribution is guaranteed.
Returns a randomly generated unsigned int.
This is effectively a sequence of 32 random bits.
Returns a randomly generated unsigned long long.
This is effectively a sequence of 64 random bits.
©2025 05524F.sg (Singapore)