Also, the default precision in javascript is double.
--- In [email protected], "Paul Ho" <[EMAIL PROTECTED]> wrote:
>
> you can only doing single precision floating points within AFL
> all functions that I called returned single precision,
> 1. I thought it was 8 significant digits
> http://en.wikipedia.org/wiki/IEEE_754;
> 2. yes or dll
> 3. for and sum should give the same answer.
> cheers
> Paul.
>
> _____
>
> From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf
> Of Tom Tom
> Sent: Thursday, 16 November 2006 7:01 PM
> To: [email protected]
> Subject: [amibroker] Digit precision on AB ?
>
>
>
> Hello,
>
> Does someone can help me about digit precision on AB please.
>
> 1- I think it is 7 signifiant digit +exposant +signe. Am i right ?
>
> 2- For more precision we need to code in VBscript and enable double
float ?
>
> 3- But if i prefer stay on Amibroker AFL. For a sum loop for exemple, i
> didn't have same result with looping with FOR(i=...) and with
SUM(array,
> periods). SUM is better ? Native AFL included function work inside
with only
>
> 7 digit precision too, or they work in more precision and send back
function
>
> result in 7 digit format. If it is the case, SUM should give better
calcul
> accuracy than FOR(i=...) ?
>
> Thanks,
> Mich.
>
> __________________________________________________________
> Windows Live Messenger sur i-modeT : dialoguez avec vos amis depuis
votre
> mobile comme sur PC ! http://mobile.
> <http://mobile.live.fr/messenger/bouygues/> live.fr/messenger/bouygues/
>