It shows that integers are promoted to rationals, and rationals are 
promoted to floating-point, when you have mixed operands.

Henry Rich

Björn Helgason wrote:
> I was wondering how much 5r2 is and tested
> 
>    5r2<.i.11
> 0 1 2 5r2 5r2 5r2 5r2 5r2 5r2 5r2 5r2
>    5r2<.0.1+i.11
> 0.1 1.1 2.1 2.5 2.5 2.5 2.5 2.5 2.5 2.5 2.5
> 
> The results are a bit unexpected but as I am no expert in r values I wonder
> what this means?
> 
> 
> 2009/5/14 Graham Parkhouse <[email protected]>
> 
>> J is still my prime intellectual challenge after 5r2 years. I never program
>> in anything else, but my productivity for run of the mill stuff is slower
>> at
>> the moment than when I was using APL for two reasons:
>>
> ----------------------------------------------------------------------
> 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