This is a bug. That expression is the dictionary definition for residue.
-- Raul On Thu, Dec 29, 2011 at 1:44 PM, Aai <agroeneveld...@gmail.com> wrote: > > > On 29-12-11 13:33, Raul Miller wrote: >> Note also that this result is inconsistent with the expression from >> the dictionary which appeared in the sentence that I quoted above: >> >> Y=: one >> X=: 2 >> Y-X*<. Y % X+0=X >> 1 >> > Residue | and the expression are not the same. > > mod=: 13 :'y-x*<. y % x+0=x' > > 8 | 37j37 > _3j_3 > > not ok > ---------------------------- > > 37j37 - (<. 37j37 % 8) * 8 > _3j5 > > 8 mod 37j37 > _3j5 > > ok. > > Hence: don't use residue | for complex numbers. > > > > -- > Met vriendelijke groet, > @@i = Arie Groeneveld > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm