From 5aef03b3a165b309622f6d051bd4d53c42b4532d Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Mon, 25 Nov 2002 10:47:53 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r232, which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=233 --- pd/src/d_delay.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pd/src/d_delay.c') diff --git a/pd/src/d_delay.c b/pd/src/d_delay.c index f14bb112..edcf1235 100644 --- a/pd/src/d_delay.c +++ b/pd/src/d_delay.c @@ -78,8 +78,7 @@ static t_int *sigdelwrite_perform(t_int *w) while (n--) { float f = *in++; - /* bash NANs and underflow/overflow hazards to zero */ - if (!((f > 1.0e-20f && f < 1.0e20f) || (f < -1e-20f && f > -1e20))) + if (PD_BADFLOAT(f)) f = 0; *bp++ = f; if (bp == ep) -- cgit v1.2.1