Hi all,
Pd 0.37-2 is out; fixes several minor problems in 0.37-1.
fixed expr not to shadow "exp" function with a variable
fixed a bug in soundfile reading (soundfiles now default to wav better.)
fixed gfx update problem in hradio and vradio
minor changes to built-in Max import feature (but you should still use cyclone's instead.)
colors for scalars fixed (probably never worked before!)
added a "set" message to the line object
aliased spaces to underscores in GUI labels so that at least they won't destroy the object.
It's all on:
http://www.crca.ucsd.edu/~msp/software.html
cheers Miller
hi miller, hi list,
i was looking at the diffs between 0.37-1 and 0.37-2.
you still have the PD_BADFLOAT script like this:
#define PD_BADFLOAT(f) ((((*(unsigned int*)&(f))&0x7f800000)==0) ||
(((*(unsigned int*)&(f))&0x7f800000)==0x7f800000))
if you would use this: #define PD_BADFLOAT(f) ((((*(unsigned int*)&(f))&0x7f800000) < 0x08000000) || \ (((*(unsigned int*)&(f))&0x7f800000)==0x7f800000))
almost denormal numbers would be flushed to zero, too...
i had severe problems with denormals before adding this to the cvs, so i'd ask you, if you could apply this, too...
cheers ... tim
Hi Tim,
Use "PD_BIGORSMALL" instead (I thought PD_BADFLOAT wouldn't be the right name for a thing that was getting close to denormal. The new PD_BIGORSMALL zeros anything whose exponent falls out of the range (-64,64) -- assuming I've coded it right. This fixes underflow problems with delay loops, for instance, and also protects agains unstable loops overflowing.
Duh, I forgot to mention this in the "release notes", sorry.
cheers Miller
On Fri, Jul 23, 2004 at 11:38:51AM +0200, Tim Blechmann wrote:
hi miller, hi list,
i was looking at the diffs between 0.37-1 and 0.37-2.
you still have the PD_BADFLOAT script like this: #define PD_BADFLOAT(f) ((((*(unsigned int*)&(f))&0x7f800000)==0) ||
(((*(unsigned int*)&(f))&0x7f800000)==0x7f800000))if you would use this: #define PD_BADFLOAT(f) ((((*(unsigned int*)&(f))&0x7f800000) < 0x08000000) || \ (((*(unsigned int*)&(f))&0x7f800000)==0x7f800000))
almost denormal numbers would be flushed to zero, too...
i had severe problems with denormals before adding this to the cvs, so i'd ask you, if you could apply this, too...
cheers ... tim
-- mailto:TimBlechmann@gmx.de ICQ: 96771783
After one look at this planet any visitor from outer space would say "I want to see the manager." William S. Burroughs
Use "PD_BIGORSMALL" instead (I thought PD_BADFLOAT wouldn't be the right name for a thing that was getting close to denormal. The new PD_BIGORSMALL zeros anything whose exponent falls out of the range (-64,64) -- assuming I've coded it right. This fixes underflow problems with delay loops, for instance, and also protects agains unstable loops overflowing.
oops ... sorry, i read -1e19 instead of 1e-19 ....
cheers ... tim