¬Mathematical Operations:Arithmetic and Logic Operations¬¬
Bitwise NOT operator.
Description
The bitwise operators perform operations of bitwise AND, bitwise
OR, bitwise NOT and bitwise non-equivalence.
The priority of these operators is less binding that the
arithmetic ones, but more binding that the comparisons.
Parentheses may be used as above to force particular groupings.
Syntax~ a (bitwise NOT)
where the argument a may be a further
expression. It is
converted to the nearest integer to machine precision and then the
operation is performed.
Examples
Here is an example for the bitwise-group, comparing the different bitwise opcodes. It uses the file bitwise-group.csd.
Example of the bitwise group.See alsoArithmetic and Logic Operations