BTW, what IS actually missing is double Randomf(); (returning 0 < x < 1)
Something like this?
// Returns random value from 0 to 1 - 10^-9 with 10^-9 precision.
double Randomf()
{
static const dword n = 1000000000;
return double(Random(n)) / n;
}
Yes, but that 10^-9 is perahps not enough. We have 56 bits to fill...
Sure, it is enough for most applications, but so far I believe not good enough as addition to library. Especially if it is such one-liner.