On Sep 15, 2004, at 2:32 PM, Jim Weirich wrote:

> Several things look wrong here.

That's because your math is a lot better than mine.  <laughs>  I 
recognized the division as >> 2**16, but I didn't get the 2**14 modulo.

You're right about the array, it was dumb.

You also optimized my routine incredibly with the % to the seed.  Very 
nice.

Ironically, as it turns out, my number generator was fine, if super 
slow.  I did fine the problem elsewhere.  Guess it wasn't such a good 
guess after all.

Thanks to all who helped!

James Edward Gray II