On 12/8/2011 4:39 PM, Raul Miller wrote: > {.@#:@(,: 2 *>./@,)i:2 ((0>]),"0 1#:) i:2 NB. seems to work just as well, and more obviously handles the sign bit.
-- --------------------------------------------------------------------------- |\/| Randy A MacDonald | If the string is too tight, it will snap |\\| array...@ns.sympatico.ca| If it is too loose, it won't play... BSc(Math) UNBF '83 | APL: If you can say it, it's done. Natural Born APL'er | I use Real J Experimental webserver http://156.34.67.219/ (Dynamic IP) ------------------------------------------------<-NTP>----{ gnat }- ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm