[PD] how to get big numbers from array into a file?

Martin Peach chakekatzil at gmail.com
Fri May 7 16:30:51 CEST 2021


On Fri, May 7, 2021 at 10:17 AM <rolfm at dds.nl> wrote:
>
> hi,
>
> i'm struggling with the way Pd handles numbers bigger then 999999.
>
> i have an array with thousands of numbers, which i write to a file to analyse them.
>
> however, as soon as a number is bigger then 999999 i get the abbreviated notation and am loosing the lower digits.
>

This is because Pd rounds all numbers to six significant digits when
it writes hem to a file.
You could try using two arrays with the most and least significant
halves of the numbers in parallel.
Or wait for 64-bit Pd....

Martin





More information about the Pd-list mailing list