This is a package that provides an alternative pseudo-random number generator based upon the Mersenne Twister PRNG algorithm (, )(Both links are 404 on 2012-06-10). This PRNG has an enormous period (in fact it is 2**19937-1 which is a Mersenne Prime, hence the name). It is also suposedly faster than the standard C library rand() function. Furthermore, while the stock Tcl rand function generates numbers in the range (0,1) - randmt produces numbers in the range [0,1]. If required, it can also produce values within (0,1) as well as integer values (any 32bit value) - we would just need some names for these functions.Currently the code is available at
cvs -d:pserver:[email protected]:/cvsroot/tclsoap co RandMTand the distributable files are at http://sourceforge.net/projects/tclsoap in the downloads section.