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

EL precision can cause problems



PureBytes Links

Trading Reference Links



On Sat, 19 Jun 1999, The Omega Man wrote:

> 
> I've said it before and I'll say it again:  This debate over precision is
> ridiculous.
> 
> Second, extra precision is not needed for trading.  What's needed for
> trading is not more precision, but less.  We need "fuzzy" approaches, not
> precise ones.  Carrying calculations out to the nth decimal place in a fuzzy
> environment is ridiculous.

Not so, but it does depend on what you try to do. 

Example: I built a digital filter outside TS, and then tried to run it in
TS. I could not put all the digits in TS, but I thought the TS digits
would be enough to operate OK. 

Well, guess what? The filter **crashed** TS. At first, I thought it was my
error, but after much looking, I finally traced the problem to a lack of
precision in EL! I found a different filter that would run OK, and when
the numbers approached the real filter, at some point it would crash TS.
Before the crash, one could see the numbers beginning to diverge and
become very large. 

For some folks, precision does matter!

(-: let's hear it for VB double precision :-).

Larry