Hi Damon, I have tried to implement this technique, to fix the svf~ and I am still getting denormal errors pegging the CPU. Is there anything I have missed do you think? After reading a little bit about unions and uint32_t I think I've used them correctly...
If this bug can be zapped for good then I'd like to eliminate denormal errors from the svn for good! Best, Ed --- On Fri, 14/8/09, Damon Chaplin <[email protected]> wrote: > From: Damon Chaplin <[email protected]> > Subject: Re: [PD-dev] denormals: svf, freeverb (was Re: [PD] bug in > freeverb???) > To: "Ed Kelly" <[email protected]> > Cc: "PD List" <[email protected]>, "pddev" <[email protected]> > Date: Friday, 14 August, 2009, 1:51 PM > > On Fri, 2009-08-14 at 13:06 +0100, Damon Chaplin wrote: > > On Fri, 2009-08-14 at 13:03 +0100, Damon Chaplin > wrote: > > > > > if (u.int_value & > 0x7f800000) > > > fv = 0.0f; > > > > Oops. That should be: > > > > if (u.int_value & 0x7f800000 == 0) > > fv = 0.0f; > > Or even better: > > if ((u.int_value & 0x7f800000) == 0) > fv = 0.0f; > > Damon > > >
svftest.tgz
Description: GNU Unix tar archive
_______________________________________________ Pd-dev mailing list [email protected] http://lists.puredata.info/listinfo/pd-dev
