> I get the same result in both cases.
> Am I missing something?

The expressions  [: i. <[EMAIL PROTECTED]  And  i.@<[EMAIL PROTECTED]  are 
different because of section II.G of the Dictionary:

        Some verbs f produce floating point (inexact) results 
        on some extended arguments because the result is not integral;
        however, <[EMAIL PROTECTED] and >[EMAIL PROTECTED] produce extended 
integer results 
        when applied to extended integer arguments. 

        http://www.jsoftware.com/help/dictionary/dictg.htm

That is, the verb  <[EMAIL PROTECTED]  is supported by special code to produce 
exact results.  

The first expression  [: i. <[EMAIL PROTECTED]  contains this optimized verb, 
but the second expression  i.@<[EMAIL PROTECTED]  doesn't (in a format which
the interpreter can recognize it).

Specifically,  i.@<[EMAIL PROTECTED]  parses as  (i.@<.)@^.  and that's not the 
same as  <[EMAIL PROTECTED]  (where the  <.  is the last verb applied).

If you'd like me to, I take a minute to work up example inputs where the two 
expressions' outputs differ.

-Dan

PS:  See also  
http://www.jsoftware.com/pipermail/programming/2007-November/008892.html

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

Reply via email to