[Jprogramming] What is interesting about 27*^.2 ?

Randy MacDonald ramacd at nbnet.nb.ca
Mon Mar 3 03:40:52 HKT 2008


Hello;

I'm sorry. I'm just ruminating out loud about the non-intuitive effects 
of the dot, which can throw me even after 17 years of J exposure.

We now return you....

Zsbán Ambrus wrote:
> On Sun, Mar 2, 2008 at 8:23 PM, Randy MacDonald <ramacd at nbnet.nb.ca> wrote:
>   
>> Hello;
>>
>>  Something interesting happens when the exponent is an actual number:
>>
>>    27*^0.2
>>  32.9779
>>
>>  This suggests:
>>    27 ^ (^. 2)
>>  Which takes me back to the documentation....
>>     
>
> Sorry, but I really don't understand what you mean above.
>
> We talked about the number
>
> T =: 27 * (^. 2)
>
> What does that have to do with any of the above two?
>
> Ambrus
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
>   

-- 
------------------------------------------------------------------------
|\/| Randy A MacDonald       | APL: If you can say it, it's done.. (ram)
|/\| ramacd <at> nbnet.nb.ca |
|\ |                         | The only real problem with APL is that
BSc(Math) UNBF'83            | it is "still ahead of its time."
Sapere Aude                  |     - Morten Kromberg
Natural Born APL'er          |
-----------------------------------------------------(INTP)----{ gnat }-




More information about the Programming mailing list