diff options
Diffstat (limited to 'src/iemlib1/sigpeakenv.c')
-rw-r--r-- | src/iemlib1/sigpeakenv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iemlib1/sigpeakenv.c b/src/iemlib1/sigpeakenv.c index a16638e..4ced863 100644 --- a/src/iemlib1/sigpeakenv.c +++ b/src/iemlib1/sigpeakenv.c @@ -62,7 +62,7 @@ static t_int *sigpeakenv_perform(t_int *w) *out++ = peak; } /* NAN protect */ - if(PD_BADFLOAT(peak)) + if(IEM_DENORMAL(peak)) peak = 0.0f; x->x_old_peak = peak; return(w+5); |