[PD] writing soundfiles (was Re: (no subject))

Mathieu Bouchard matju at artengine.ca
Tue Sep 11 21:27:17 CEST 2007


On Tue, 11 Sep 2007, martin.peach at sympatico.ca wrote:

> 16777215 ,aka (2^24) - 1, is the last sequential integer that can be 
> accurately represented by a 32-bit float,

Starting with 16777216, only even numbers are representable, but 16777216 
is an even number, so 16777216 is the last sequential integer that can be 
accurately represented by a 32-bit float.

> the kind used in pd, so the 99999999 in the message, which pd processes 
> as a 32-bit float, would probably end up as another value.

It would *certainly* become 100000000 exactly, because representable 
numbers in that range are only multiples of 8, and 100000000 is the 
closest one.

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada


More information about the Pd-list mailing list