[PD] problem with correct numbers in pd double precision

IOhannes m zmölnig zmoelnig at iem.at
Sun Sep 20 17:32:24 CEST 2020


Am 20. September 2020 16:41:56 MESZ schrieb "hans w. koch" <hansw.koch at gmail.com>:
> yeah, this is consistent with my findings too…
> it just mystifies me, why writing the contents of [text] containing
> symbols to a .txt file and reloading converts them silently back to
> floats, perserving precision.
> seems like the .txt file format does some behind-the-scenes magic.


hmm, no.
the behaviour you are seeing is exactly because [text] does NOT do any behind the scenes magic.

all the problems come from the fact that the default string-representation (and only the string-representation) of numbers is too coarse for double-precision.


mfg.hft.fsl
IOhannes




More information about the Pd-list mailing list