On Mon, Feb 03, 2003 at 12:55:40AM +0300, Andrey A. Chernov wrote: > On Sun, Feb 02, 2003 at 13:06:08 -0800, Kris Kennaway wrote: > > On Sun, Feb 02, 2003 at 06:10:49PM +0300, Andrey A. Chernov wrote: > > > So far, this is final variant for 0 problem fixing ready for committing. > > > Any objections? > > > > What tests have you run on this code to ensure it doesn't still have > > strange problems? > > Uhm, I don't understand you well here. Any code can have strange problems, > nobody can be sure. Lets concentrate to this particular problem which I > call 0 problem. 0 seed is illegal by algorithm desing and BSD developers > try to made workaround, but their attempt was unsuccessful with result you > describe. Now successfull attempt comes. It not add any new bugs, because > value 0 simple mapped to another value (which could be any, but I choose > to not touch lower ones), which make generator non-stick at 0 again.
If I understand correctly, this still doesn't solve the problem, because any PRNG sequence that hits the "magic" value will still get stuck there forever. Kris
msg51603/pgp00000.pgp
Description: PGP signature