[PD] float accuracy and OSC

Mathieu Bouchard matju at artengine.ca
Fri Nov 6 23:05:32 CET 2009


On Fri, 6 Nov 2009, alvaro wrote:

> I'm trying to send some big float numbers into Puredata through OSC. But 
> numbers seem to be rounded up above 16777216, that's 2 to the 24. 
> Numbers are really rounded, not just printed with less precision. Has it 
> something to do with OSC, or with mrpeach objects, or with Puredata 
> itself?

Anything that uses the standard float32 numbers will run into this 
problem. This includes 64-bit versions of Pd, which pads each float32 
number with 32 unused bits so that it makes a total of 64 bits.

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801


More information about the Pd-list mailing list