On Fri, Jun 16, 2006 at 06:09:08PM -0400, Mathieu Bouchard wrote:
On Fri, 16 Jun 2006, Hans-Christoph Steiner wrote:
To get bits, use the standard bitwise operators, just like C or many other languages. Pd has the whole suite: & | >> <<
Anyone outside of pd would agree that the whole suite includes ^
However pd doesn't have a [^], though [expr $f1^$f2] is a nice substitute, if one's project is GPL-compatible.
Pd implementation of XOR attached. Why doesn't Pd include a bitwise NOT operator? Or did I miss something?
Best,
Chris.
chris@mccormick.cx http://mccormick.cx