
24 Apr
2006
24 Apr
'06
4:05 p.m.
Andy Little ha scritto:
Many times the "float error less than epsilon" test is used to terminate a successive approximation routine, which will be an infinite loop if eps is negative. Does a negative eps trigger an exception?
I haven't decided yet. That's where your feedback is helpful to me. Possible options include (but are not limited to) triggering an exception or using a debug assert(). Ganesh