> IMHO, it would be a good idea to include a comment ...

I disagree.



----- Original Message -----
From: Joey K Tuttle <[EMAIL PROTECTED]>
Date: Saturday, June 24, 2006 9:34 am
Subject: Re: [Jgeneral] significant digits

>    365365365365365365x^2  NB. extended precision is nice
> 133491850208566925016658299941583225
> 
>    36 ": 365365365365365365^2  NB. Speed demands approximations
> 133491850208566926593356837672714240
> 
> But it went right past me that 8!: forces return to float and
> gives rather zany results...
> 
>    'c0' 8!:2 ] 365365365365365365x^2
> 133,491,850,208,566,945,040,100,911,382,265,856
> 
> For the want of a , the sense was lost...
> 
>    '0' 8!:2 ] 365365365365365365x^2
> 133491850208566945040100911382265856
> 
>    '0' 8!:2 ] 365365365365365365^2
> 133491850208566926593356837672714240
> 
>    365365365365365365x^2
> 133491850208566925016658299941583225
> 
> IMHO, it would be a good idea to include a comment in the 8!:
> documentation page that expands on the description - "y is
> usually an array of real numbers." to the effect that extended
> integers may cause erratic results.


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

Reply via email to