diff options
Diffstat (limited to 'pd/doc/5.reference/operators.pd')
-rw-r--r-- | pd/doc/5.reference/operators.pd | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pd/doc/5.reference/operators.pd b/pd/doc/5.reference/operators.pd new file mode 100644 index 00000000..64b47e4d --- /dev/null +++ b/pd/doc/5.reference/operators.pd @@ -0,0 +1,31 @@ +#N canvas 52 109 635 355 12; +#X obj 29 172 +; +#X floatatom 41 113 0 0 0; +#X floatatom 29 197 0 0 0; +#X floatatom 51 143 0 0 0; +#X msg 29 82 bang; +#X obj 44 6 +; +#X text 27 307 see also:; +#X obj 186 314 +~; +#X text 79 5 (etc.) -- ARITHMETIC; +#X text 72 88 Bang outputs sum; +#X text 79 112 Numbers in left inlet add and output sum; +#X text 93 142 Numbers in right inlet only change the inlet's value; +#X obj 113 314 trigger; +#X text 348 325 last updated for version 0.33; +#X text 93 189 You can supply a creation argument to initialize the right inlet:; +#X text 29 29 The floating point binary operators are + \, - \, * \, / \, pow \, max \, and min. Note that pow only works for nonnegative mantissas.; +#X floatatom 101 225 0 0 0; +#X floatatom 101 275 0 0 0; +#X obj 101 250 pow -1; +#X floatatom 179 225 0 0 0; +#X floatatom 179 275 0 0 0; +#X obj 179 250 min 20; +#X connect 0 0 2 0; +#X connect 1 0 0 0; +#X connect 3 0 0 1; +#X connect 4 0 0 0; +#X connect 16 0 18 0; +#X connect 18 0 17 0; +#X connect 19 0 21 0; +#X connect 21 0 20 0; |