Hey all, So I've been doing lots of calculations with expr and creation arguments, and it seems to send an int when it should send a float way too often:
[expr 8 / 20] returns 0!!! See attached patch. Have I lost my mind? Is my machine going crazy? or is expr actually doing what I see here? I cringe at the idea of doing these calculations with separate [*] [/] [+] [-] objects... Thanks, B. Bogart
#N canvas 0 0 450 300 10; #X obj 74 90 expr 8 / 20; #X obj 142 24 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X floatatom 93 128 5 0 0 0 - - -; #X floatatom 213 133 5 0 0 0 - - -; #X msg 191 47 1; #X obj 194 95 expr $f1 * 8 / 20; #X connect 0 0 2 0; #X connect 1 0 0 0; #X connect 1 0 4 0; #X connect 4 0 5 0; #X connect 5 0 3 0;
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
