The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... 
Home MathPack Math1 Random Generators LongRand  
See also: TRandGen, BRandom, GRandom, nDistriDensity, CRandom  
LongRand 

For many applications (e.g. data encryption) it would be necessary to have a portable random generator of sufficient period length. The random generator used in LongRand is based on three combined linear congruential generators which are designed in such a way that the period length of the resulting pseudorandom sequence is about 3.47*10E17. The random generator can be initialized by setting the parameter seed to a nonzero value. For normal operation seed has to be zero; the random generator then produces a pseudorandom sequence of floating point numbers in the interval of [0.0,1.0].
