PureBytes Links
Trading Reference Links
|
When you exponentiate a number, the number of digits becomes quite large.
Try using the precision function to limit the number of decimals. You might
try using excel and its graphing capabilities for this function.
Lionel Issen
lissen@xxxxxxxxx
----- Original Message -----
From: ljb <laurent.jacob@xxxxxxxxxxxxxx>
To: <metastock@xxxxxxxxxxxxx>
Sent: Sunday, September 03, 2000 8:28 AM
Subject: MSDK and exp() C function
> hello,
> I use the MSDK to build new functions. I have a function in a DLL which
> uses the exponential function of C "exp() ". When I stress test this
> function, I obtain a overflow even if I place in front of a
> "ForceFloatRange" like this:
>
> ForceFloatRange ( exp(mydata) );
>
> Does somebody have a solution to avoid the overflow ?
>
> Thank you for your answer
>
> LJ
>
|