hi
i seem to be having some trouble making a simple example to display the output of a division of 2 integers.
it seems that PD is reporting inaccurate calculations for reasons unknown to me. i was hoping that if i send the patch to this list i could possibly get help in understanding what it is i do incorrectly. thanks.
#N canvas 328 200 593 299 10; #N canvas 0 0 595 418 guts 1; #N canvas 0 0 450 300 graph1 0; #X array array1 12 float 3; #A 0 1 2 3 4 5 6 7 8 9 10 11 12; #X coords 0 0 12 12 200 140 1; #X restore 336 72 graph; #N canvas 0 0 450 300 graph1 0; #X array array2 12 float 3; #A 0 1 2 3 4 5 6 7 8 9 10 11 12; #X coords 0 0 12 12 200 140 1; #X restore 336 254 graph; #X msg 41 40 ; array1 0 1 2 3 4 5 6 7 8 9 10 11 ; array2 0 1 2 3 4 5 6 7 8 9 10 11; #X obj 70 237 tabread array1; #X obj 68 341 tabread array2; #X obj 70 263 s array1-disp; #X obj 68 369 s array2-disp; #X obj 84 125 metro 2000; #X obj 84 167 random 12; #X obj 164 167 random 12; #X obj 206 342 /; #X obj 206 372 s result; #X obj 84 98 inlet; #X obj 41 17 loadbang; #X obj 206 276 r array1-disp; #X obj 222 307 r array2-disp; #X connect 3 0 5 0; #X connect 4 0 6 0; #X connect 7 0 8 0; #X connect 7 0 9 0; #X connect 8 0 3 0; #X connect 9 0 4 0; #X connect 10 0 11 0; #X connect 12 0 7 0; #X connect 13 0 2 0; #X connect 14 0 10 0; #X connect 15 0 10 1; #X restore 18 377 pd guts; #X obj 76 53 nbx 2 45 -1e+37 1e+37 0 0 empty array1-disp empty 0 -6 0 72 -262144 -1 -1 4 256; #X obj 74 151 nbx 2 45 -1e+37 1e+37 0 0 empty array2-disp empty 0 -6 0 72 -262144 -1 -1 6 256; #X text 61 119 --------------------------; #X text 289 119 =; #X obj 338 105 nbx 8 45 -1e+37 1e+37 0 0 empty result empty 0 -6 0 14 -44926 -1 -1 0.444444 256; #X obj 18 356 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; #X text 39 355 <- start; #X connect 6 0 0 0;