Patches item #2952880, was opened at 2010-02-16 11:33
Message generated for change (Settings changed) made by eighthave
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: bugfix
>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.

----------------------------------------------------------------------

>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2010-08-20 15:07

Message:
This one did not seem to get accepted, or at least its not in git as of
today.  There is a commit in git (2488dcef8a72906cd1fa3785ef549ea7b33533b5)
marked "patch 2952880 - a partial float fix", but that commit makes only a
small change to extra/expr~/vexp_if.c.

----------------------------------------------------------------------

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