Ok, yes - if one of the arguments is extended and the other is integer and the operation supports it, the result will be extended. That said, this depends on the operation.
Thanks, -- Raul On Fri, Sep 8, 2017 at 5:39 AM, Erling Hellenäs <[email protected]> wrote: > We are still diskussing this case, nothing else. Extended left argument to > Residue, integer right argument. /Erling > > n=.14 > > (n^2x) |5729082486784839 > > 147 > > 3!:0 (n^2x) > > 64 > > 3!:0 (n^2x) |5729082486784839 > > 64 > > > > Den 2017-09-08 kl. 11:30, skrev Raul Miller: >> >> You can answer this for yourself by checking datatype on intermediate >> arguments and results. >> >> For example: >> >> datatype 14 >> integer >> datatype *: 14 >> integer >> datatype 5729082486784839 >> integer >> datatype (*: 14)|5729082486784839 >> integer >> ... >> datatype 14 ^ 2x >> extended >> ... >> >> I hope this helps, >> > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
