ultimatepp/upptst/Random/Random.cpp
cxl 9e22ace850 .upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@4438 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-01-18 18:23:29 +00:00

15 lines
205 B
C++

#include <Core/Core.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
SeedRandom();
double x = 0;
for(int i = 0; i < 10000000; i++) {
x += Randomf();
// DDUMP(Randomf());
}
DDUMP(x);
}