Changes

Jump to: navigation, search

The B-Team

12 bytes removed, 01:26, 21 November 2012
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>
1
edit

Navigation menu