1
edit
Changes
no edit summary
<pre>
inline double moreRandom(unsigned iterations)
{
double result = (double)rand() / (double)RAND_MAX;
for(unsigned i = 1; i < iterations; i++)
{
result = (((double)rand()) + result) / (double)RAND_MAX;
}
return result;
}
</pre>