[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Floating Point Numerical Overload



PureBytes Links

Trading Reference Links

At 3:01 PM -0400 10/5/02, Gene Pope wrote:

>Can anyone elucidate me on why the following formula produces a "Floating
>Point Numerical Overload"?
>
>MyAvg = Average(Price,Len) - Xaverage(MyAvg,Len);
>
>I have a feeling it's something totally dumb like simple vs. series
>functions??

It might have something to do with replacing the variable "MyAve" with itself.

Try:

Value1 = Average(Price,Len);
Value2 = Xaverage(MyAvg,Len);
MyAve  = Value1 - Value2;

Bob Fulks