[PD] PD Float accuracy
Mark.Sexton at port.ac.uk
Thu Nov 6 23:50:51 CET 2008
I need PD to make simple but accurate calculations for a sonification project. However there seems to be a problem working accurately with floats that have 7 or more digits in total (before or after the decimal point). PD always seem to round the figure to 6 digits whether in a calculation, or even typing a 7+ digit float into a number box e.g. 1234.5678 rounded to 1234.57
I've got a couple of ugly hacks to work around for now, but it seems a fairly fundamental thing to do, so would be grateful to hear if I'm missing a simple way to get PD to work accurately with floats of any arbitrary length above 6 digits.
More information about the Pd-list