Please reply to the list, so others know the state of the matter. On 9 Sep 2010, at 17:15, Lars Ullrich wrote:
ok, i found it, thanks a lot.
Am 09.09.2010 um 16:04 schrieb Hans Aberg:
On 9 Sep 2010, at 12:50, Lars Ullrich wrote:
Dear list, Is there a way to do this operator functions in chuck?
">>" Shift all bits to the right ( has the effect of dividing a number by a power of two, but is less expensive in computer time.)
"&" Bitwise intersection of two numbers. The & object performs a bit-by-bit "and" of two numbers (expressed in binary for the task). It is similar to the operator found in the C programming language.
See the ChucK manual, searching for "bitwise". These are the same as in C; in addition, there are operators like |=> corresponding to |=.
participants (1)
-
Hans Aberg