On Mon, Aug 16, 2010 at 3:25 PM, Don Guinn <[email protected]> wrote:
> Residue gives the same.
>
> 5#:0j1+i.9
> 0j1 1j1 2j1 _2j1 _1j1 0j1 1j1 2j1 _2j1
And that is probably what is going on here.
Residue is defined to be using floor:
The definition y-x*<. y % x+0=x extends the residue...
http://www.jsoftware.com/help/dictionary/d230.htm
And complex floor is the root issue here.
That said, the dictionary definition for #: does not
mention this issue, and this behavior does not make
sense for that definition.
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm