Are you sure that the expression is not included, but may be used if you wish 
to extend the meaning of the verb.  That is what I did, and got the answer that 
you expected.

Linda

-----Original Message-----
From: programming-boun...@jsoftware.com 
[mailto:programming-boun...@jsoftware.com] On Behalf Of Raul Miller
Sent: Thursday, December 29, 2011 4:33 PM
To: Programming forum
Subject: Re: [Jprogramming] inconsistent result from |

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

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to