Patches item #2952880, was opened at 2010-02-16 11:33
Message generated for change (Tracker Item Submitted) made by mrpeach
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=2952880&group_id=55736

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: None
Status: Open
Resolution: None
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&group_id=55736

_______________________________________________
Pd-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev

Reply via email to