[PD-cvs] SF.net SVN: pure-data:[10213] trunk/doc/additional/messageoddness/ float-precision-misrepresentation.pd

eighthave at users.sourceforge.net eighthave at users.sourceforge.net
Wed Jul 23 23:04:41 CEST 2008


Revision: 10213
          http://pure-data.svn.sourceforge.net/pure-data/?rev=10213&view=rev
Author:   eighthave
Date:     2008-07-23 21:04:41 +0000 (Wed, 23 Jul 2008)

Log Message:
-----------
an illustration of the disconnect between the way Pd represents floats verus
what happens in the implementation, following the discussion in bug #1996275

https://sourceforge.net/tracker/index.php?func=detail&aid=1996275&group_id=55736&atid=478070

Added Paths:
-----------
    trunk/doc/additional/messageoddness/float-precision-misrepresentation.pd

Added: trunk/doc/additional/messageoddness/float-precision-misrepresentation.pd
===================================================================
--- trunk/doc/additional/messageoddness/float-precision-misrepresentation.pd	                        (rev 0)
+++ trunk/doc/additional/messageoddness/float-precision-misrepresentation.pd	2008-07-23 21:04:41 UTC (rev 10213)
@@ -0,0 +1,22 @@
+#N canvas 389 283 450 300 10;
+#X msg 173 54 0.999999;
+#X obj 173 86 + 9e-07;
+#X floatatom 164 184 9 0 0 0 - - -;
+#X obj 135 215 pddp/print;
+#X obj 112 245 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
+-262144 -1 -1 1 256;
+#X obj 98 264 print LEFT;
+#X obj 249 182 print RIGHT;
+#X text 51 5 there is a disconnect between the precision that can be
+displayed in Pd and the precision of the math that is happening behind
+the scenes:;
+#X floatatom 187 113 5 0 0 0 - - -;
+#X obj 173 147 moses 1;
+#X connect 0 0 1 0;
+#X connect 1 0 8 0;
+#X connect 1 0 9 0;
+#X connect 9 0 2 0;
+#X connect 9 0 3 0;
+#X connect 9 0 4 0;
+#X connect 9 0 5 0;
+#X connect 9 1 6 0;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Pd-cvs mailing list