#65 use single-precision math functions on Mac OS X

open
nobody
puredata (65)
5
2007-12-28
2007-12-28
No

On Mac OS X, Pd is using the double precision math functions even though Pd uses single precision floats. You can see it here:

http://pure-data.cvs.sourceforge.net/pure-data/pd/src/x_arithmetic.c?view=markup

Here's a previous discussion on this:

http://lists.puredata.info/pipermail/pd-dev/2006-01/006042.html

I don't think this would make a massive difference overall, but I'll bet it would make a significant difference for any patch using sin, cos, atan, atan2, sqrt, log, exp, fabs, or pow.

Discussion


Anonymous


Cancel   Add attachments