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

Re: Easy Language Math Precision



PureBytes Links

Trading Reference Links


> > No... such a build up of errors is highly unlikely.  The more likely
> > circumstance is that errors offset one another.  Some add and some
subtract
> > and you end up about where you would have been anyway.
>
> Not true.  As someone has already responded, go take an introductory
> course in numerical analysis at your local community college.
>


Yes, true.  Show me otherwise.  Again, I do not refer here to any built-in
EL functions, merely to the representation of numbers using single
precision.  The fact that numbers are represented as single precision has
absolutely nothing to do with whether errors will accumulate or not.



>
>
> Also in this thread, the Jackal <tradejacker@xxxxxxxxx> re-posted an
> old message by Bob Fulks, which in part was:
>
> > As a very simple example, the "Average" function supplied with
> > TradeStation calculates the average by subtracting the old bar
> > and adding the new bar:
> >
> >     Sum = Sum[1] + Price - Price[Length]
> >


I hate to repeat myself, but I do not dispute that this is not a good way to
average things...  But this function implementation has absolutely nothing
to do with the precision question.