[PD] denormalized numbers bugfix in PD
Miller Puckette
mpuckett at man104-1.ucsd.edu
Sat Sep 20 22:21:35 CEST 2003
Hmm, I'd like to see this patch! Maybe I can figure out why linux and
windows are acting differently.
I've been checking for denormals, etc., in anything that can be used to
make a feedback loop, thus, objects that read/write into buffers, plus
ones that have internal feedback (such as filters). I need to add
throw~, catch~, and vcf~.
I think I should really be bashing anything under 1e-20 or so to zero;
otherwise I don't catch things until they've already gone denormal. I'd
like to find a check that finds denormals AND numbers about to go denormal.
Also, since some compilers apparently don't like this test, I think the
best thing for me to do is try to turn off whatever specific warning that
gets tripped by the test... if someone can tell me a "pragma" or whatever
is making ICC (and/or GCC3.3) complain I'll stick it in the code.
I think I'll fix this and a coupe of other problems and put out a 0.37-1
in a week or so.
cheers
Miller
On Sat, Sep 20, 2003 at 02:45:20PM +0200, derek at x-i.net wrote:
> what about throw~ and catch~?
>
> also, what about the diferences between windows and linux in the way denormals
> are handled. i use the exact same version of PD, 0.36-0, under both systems, but
> have VERY different results. a patch which hovers nicely at about 35% CPU usage
> under windows has nasty denormal-explosions under Linux!
>
> this problem is about the only thing that stops me from performing using Linux
> [a personal goal of mine], so i would be pretty interested in seeing some
> code-level solution.
>
> derek
>
>
> Quoting guenter geiger <geiger at xdv.org>:
>
> >
> > On Fri, 19 Sep 2003, Krzysztof Czaja wrote:
> > > hi Thomas, Derek, and all,
> > >
> > > Pd does actually kill denormals in [send~], [throw~], [line~],
> > > [delwrite~], [hip~], [lop~], [bp~], [biquad~], [tabwrite~], and
> > > [tabsend~].
> >
> > vcf~ should be added then.
> >
> > Guenter
> >
> >
> > _______________________________________________
> > PD-list mailing list
> > PD-list at iem.at
> > http://iem.at/cgi-bin/mailman/listinfo/pd-list
> >
>
>
> Notice: Please do not send attchments or HTML/Rich Text emails to this address
> for the time being. My mail provider is kind-of freaking out ;-)
> Thx.
>
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-list
More information about the Pd-list
mailing list