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 <damon@karuna.eclipse.co..uk> wrote:
> From: Damon Chaplin <damon(a)karuna.eclipse.co.uk>
> Subject: Re: [PD-dev] denormals: svf, freeverb (was Re: [PD] bug in freeverb???)
> To: "Ed Kelly" <morph_2016(a)yahoo.co.uk>
> Cc: "PD List" <pd-list(a)iem.at>, "pddev" <pd-dev(a)iem.at>
> 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
>
>
>