More often than once per second:

   ~. 6!:0"1 i. 100000 0
2007 6 14 9 42 55.359
2007 6 14 9 42 55.375
2007 6 14 9 42  55.39
2007 6 14 9 42 55.406

Looks like about a 60Hz update rate.

Henry Rich 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Raul Miller
> Sent: Thursday, June 14, 2007 9:40 AM
> To: Programming forum
> Subject: Re: [Jprogramming] generating random seed
> 
> On 6/14/07, Sherlock, Ric <[EMAIL PROTECTED]> wrote:
> > (10#:1000*{:ts)|.<.ts=:(6!:0)''  NB. Better?
> 
> 6!:0 only changes once per second.
> 
> I would use 6!:9, instead:
>    9!:1(_2^31)+(2^32)|6!:9''
> 
> -- 
> Raul
> ----------------------------------------------------------------------
> For information about J forums see 
> http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to