by Greg Berchin <gberchin@[EMAIL PROTECTED]
>
Oct 12, 2008 at 11:54 AM
On Sun, 12 Oct 2008 10:00:56 -0500, Vladimir Vassilevsky
<antispam_bogus@[EMAIL PROTECTED]
> wrote:
>What do you think is right approach?
1) and 3) represent the classic tradeoff between "make certain that
numerical overflow is impossible" and "make certain that numerical
overflow is rare and handled gracefully when it occurs". If you have
enough a priori knowledge about your input signal, then you can
usually use "engineering judgment" to find a good compromise in case
3) -- possibly along with some form of "soft" clipping -- so that the
occurrences are rare enough and benign enough to pass unnoticed.
Otherwise you have to take the ultra-conservative approach of 1).
I wouldn't use 2) at all, for the reason that you stated.
Greg