9!:11 [ 20  NB. Print precision 20

    2x ^. 2x ^ 47
47.000000000000007


[email protected] wrote:
>     2x ^. 2x ^ 607
> 607
> 
> and even though it takes about 10 seconds on my machine.
> 
>    2x ^. 2x ^ 444444                                        
>                                                       
> 444444
> 
> ^. and ^ do not seem to be a problem.
> 
> ----- Original Message Follows -----
> From: Raul Miller <[email protected]>
> To: Programming forum <[email protected]>
> Subject: Re: [Jprogramming] question on using ^ and ^.
> Date: Mon, 15 Jun 2009 12:15:57 -0400
> 
>> On Mon, Jun 15, 2009 at 12:06 PM,
>>> <[email protected]> wrote: Hum.... more
>>> observations: 
>>>   (-:!.0 <.) 2x ^.  2x^47
>>> 0
>>   (- <.) 2x ^.  2x^47
>> 7.10543e_15
>>
>> The issue, I think, is the implementation
>> of ^. not recognizing an exact integer
>> result was possible.
>>
>> -- 
>> Raul
>> -----------------------------------------------------------
>> ----------- 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