Maybe this could be a start:

   bigrnd=. a.{~?5 8$#a. NB. Big random (unsigned) integers
   bigrnd=. ((1{a.),7$0{a.),bigrnd NB. Easy to figure value,
   bigrnd=. (4|.0{bigrnd),bigrnd NB. and another
   a. i. bigrnd NB. What these look like as base 256 ints.
0 0 0 0 1 0 0 0
1 0 0 0 0 0 0 0
177 192 100 245 90 48 31 73
67 14 35 16 243 243 237 77
56 16 167 173 64 16 157 101
169 233 161 179 90 115 135 86
73 229 250 224 191 186 151 121
   256x#.a. i. bigrnd NB. What these are as extended integers
16777216 72057594037927936 12808348345184558921 4831838005934419277
4039913228297346405 12243494853672142678 5324937977631774585
   2x^24 56 NB. Check the first two
16777216 72057594037927936

On 10/8/07, Tracy Harms <[EMAIL PROTECTED]> wrote:
>
> Roger Hui's post of Thu Oct 4 23:05:10 HKT 2007 was
> particularly interesting. I am certain I will need to
> use the techniques referred to there. I do not yet
> have a clear idea of how to implement this. In
> particular, the following sentence provides advice I
> am not yet able to follow.
>
> > If not ordinals or codes, use a k-column literal
> > matrix where k e. 1 2 4 to encode k-byte integers,
> > and convert each time you need the numbers.
>
> I would like to be able to study a wiki essay on this
> technique. If writing such an essay is a pleasant
> endeavor for anybody, I'm confident it will be
> appreciated widely.
>
>
>
>
> ____________________________________________________________________________________
> Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail,
> news, photos & more.
> http://mobile.yahoo.com/go?refer=1GNXIC
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to