From: Gunther Lenz (g.lenz_at_[hidden])
Date: 2008-08-12 14:13:34
There's the same precondition in IBM XL C/C++ V9.0 for AIX too:
[quote from docs at http://tinyurl.com/6xpdtt ]
void seed(Gen& gen);
void seed(unsigned long x0);
Precondition: 0 < x0
The first seed function generates N values from the values of type
unsigned long returned by successive invocations of gen and then twists
the resulting large integer value. Each value is gen() % 2W.
The second seed function calls seed(4357).
The third seed function sets the oldest historical value h to x0 mod
2W, then iteratively sets each successive historical value h[i] to (i +
1812433253 * (h[i - 1] >> (W - 2))) mod 2W, for i ranging from 1 to N - 1.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk