[PD-cvs] pd/src d_filter.c,1.3.4.1,1.3.4.2

Tim Blechmann timblech at users.sourceforge.net
Mon Feb 21 10:35:56 CET 2005


Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17212

Modified Files:
      Tag: devel_0_38
	d_filter.c 
Log Message:
denormal fix

Index: d_filter.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/d_filter.c,v
retrieving revision 1.3.4.1
retrieving revision 1.3.4.2
diff -C2 -d -r1.3.4.1 -r1.3.4.2
*** d_filter.c	3 Jan 2005 17:46:41 -0000	1.3.4.1
--- d_filter.c	21 Feb 2005 09:35:51 -0000	1.3.4.2
***************
*** 573,576 ****
--- 573,578 ----
          *out++ = last = coef * last + next;
      }
+     if (PD_BIGORSMALL(last))
+         last = 0;
      x->x_last = last;
      return (w+6);
***************
*** 804,807 ****
--- 806,813 ----
          lastre = tempre;
      }
+     if (PD_BIGORSMALL(lastre))
+         lastre = 0;
+     if (PD_BIGORSMALL(lastim))
+         lastim = 0;
      x->x_lastre = lastre;
      x->x_lastim = lastim;





More information about the Pd-cvs mailing list