* eoRNG.h: Cleanup docs and document /all/ members.

* eoRNG.cpp, eoRNG.h (K, M, N): Declare static and initialize in cpp.
This commit is contained in:
kuepper 2006-12-02 09:39:13 +00:00
commit da50bf0986
3 changed files with 76 additions and 37 deletions

View file

@ -8,7 +8,12 @@
namespace eo
{
/// The Global random number generator.
// initialize static constants
const uint32_t eoRng::K(0x9908B0DFU);
const int eoRng::M(397);
const int eoRng::N(624);
// global random number generator object
eoRng rng(static_cast<uint32_t>(time(0)));
}