Patches item #2952880, was opened at 2010-02-16 08:33 Message generated for change (Settings changed) made by millerpuckette You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=2952880...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: puredata Group: bugfix
Status: Closed Resolution: Accepted
Priority: 5 Private: No Submitted By: Martin Peach (mrpeach) Assigned to: Miller Puckette (millerpuckette) Summary: a partial float fix
Initial Comment: Pd currently doesn't store floats to their full precision because atom_string uses the %g format specifier to print them into the binbuf. As a result 24-bit numbers lose precision. This patch changes the format specifier to %f and also adds a routine to chop off trailing zeros and the decimal point if nothing is to the right of it.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=2952880...