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

Re: Foating Point Error



PureBytes Links

Trading Reference Links

On Monday, January 29, 2001, 6:20:18 AM, Jim Johnson wrote:

JJ>   In the last few days I've started to get TS4 lock ups and a
JJ> message saying "Program Error: Floating Point Error."  Any ideas
JJ> on where to start looking for the culprit?

I've seen these with digital filters. Values get too large/small, and
TS does not handle the error gracefully. One fix is to check for too
large/small values before any operation. Kills the calc, but no TS
error. Double precision would likely solve the problem - could go to a
DLL for this.

ztrader