for regular integers, memory representation is straightforward

_4 ]\ a. i. 0 (  3!:1) ] 2147483647 
224   0   0   0 
0   0   0   4 
0   0   0   1 
0   0   0   0 
127 255 255 255 


_4 ]\ a. i. 0 (  3!:1) ] 2147483647x 
224 0  0   0 
0 0  0  64 
0 0  0   1 
0 0  0   0 
0 0  0  20 
224 0  0   0 
0 0  0   4 
0 0  0   3 
0 0  0   1 
0 0  0   3 
0 0 14  63 
0 0 18 140 
0 0  0  21 


weird enough, but its:

|. 256 #. inv 10000 #. inv 2147483647 

14  63 
18 140 
0  21

in the last 3 bytes

the header part is a 5 word header
224 0  0   0 
0 0  0   4 
0 0  0   3 
0 0  0   1 
0 0  0   3

lines 1 2 4 appear to be fixed.  lines 3 and 5 appear to both point to the 
count of data words that follow.

I guess the format is optimized for decimal display, but its using 64 bits per 
base 10000 digit.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to