[PD] finite precision in basic math?

Peter P. peterparker at fastmail.com
Mon Jan 7 13:24:54 CET 2019


Hi,

when I send the numer 0.7 to both inlets of a [* ] object (yes, in
correct order) the result is printed as 0.49
If I now subtract [- 0.49] the result is -2.98023e-08
While this is no major concern for me right now, I am still wondering
which step in this simple calculation is triggering this. If I remember
my CS lecture correctly it is the subtraction, right?

Thanks for all hints,
P





More information about the Pd-list mailing list