If x and p are machine integers and p is a large prime, x*p is a good random function on x, all the better if it overflows.
----- Original Message ----- From: Joey K Tuttle <[EMAIL PROTECTED]> Date: Friday, November 17, 2006 7:32 pm Subject: Re: [Jprogramming] Oddities with /: > At 19:08 -0800 2006/11/17, Roger Hui wrote: > > > >Now, Arthur Whitney is not an ordinary mortal like > >you or me. When we get an integer overflow it's > >a bug. Arthur exploits integer overflow in a key > >part of the interpreter, and the J interpreter has > >benefitted from this invention since 2005. > > > > With a teaser like that, we are all waiting expectantly > for elaboration! ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
