The comment on that line, "the largest internal integer",
makes it clear that the value is differs between 32 bit
vs. 64 bit. I have now changed the expression to
imax =: _1+2^IF64{31 63
Thanks for finding and reporting this error.
----- Original Message -----
From: John Randall <[EMAIL PROTECTED]>
Date: Thursday, December 4, 2008 17:02
Subject: [Jprogramming] Sparse arrays in J64
To: Programming forum <[email protected]>
> The documentation at
>
> http://www.jsoftware.com/help/dictionary/d211.htm
>
> seems to be only for J32. In particular, one can declare a
> sparse array
> with more than imax =: _1+2^31 elements, for example
>
> C=:1 $. 1e10; 0; 2-2
> */$C
> 10000000000
> ]imax=:_1+2^31x
> 2147483647
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm