Random Number Generator: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
No edit summary
m Added to Common Alg. category
Line 33:
 
I implemented a seed() function which adds a new seed to the end of the sequence, and erases the first one (the seeds are referred to as A, B, C and D). The rand() function just returns the sum of the seeds, and calls seed() with the result.
 
[[Category:Common Algorithms]]