It won't roll over:

   o_2147483645_ =. 0
   18!:3 ''
+----------+
|2147483646|
+----------+
   18!:3 ''
+----------+
|2147483647|
+----------+
   18!:3 ''
|locale error
|       18!:3'' 

Henry Rich

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of bill lam
> Sent: Tuesday, January 23, 2007 4:23 AM
> To: General forum
> Subject: [Jgeneral] will 18 3 overflow
> 
> If I use 18!:3'' to create a new object for every request in 
> socket server,
> assuming 20 request per second, and 18!:3'' using 4-byte integer
>     (2^31)%(20*3600*24)
> 1242.76
> 
> That is it will overflow after about 1200 days. While this 
> uptime is acceptable,
> I'm curious to know what are the limits of 18!:3'' and will 
> be rollover from 1
> and recycle?
> 
> -- 
> regards,
> bill
> ----------------------------------------------------------------------
> 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