Debian Codegraph @

opcodes/opbitnot.xml

raw symbols SCIP
1
2 <refentry id="opbitnot">
3 <indexterm id="IndexNot"><primary>¬</primary></indexterm>
4 <refentryinfo><title>Mathematical Operations:Arithmetic and Logic Operations</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>¬</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>¬</refname>
13
14 <refpurpose>
15 Bitwise NOT operator.
16 </refpurpose>
17 </refnamediv>
18
19 <refsect1>
20 <title>Description</title>
21 <para>
22 The bitwise operators perform operations of bitwise AND, bitwise
23 OR, bitwise NOT and bitwise non-equivalence.
24 </para>
25
26 <para>
27 The priority of these operators is less binding that the
28 arithmetic ones, but more binding that the comparisons.
29 </para>
30
31 <para>
32 Parentheses may be used as above to force particular groupings.
33 </para>
34 </refsect1>
35
36 <refsect1>
37 <title>Syntax</title>
38 <synopsis><command>~</command> a (bitwise NOT)</synopsis>
39
40 <para>
41 where the argument <emphasis>a</emphasis> may be a further
42 expression. It is
43 converted to the nearest integer to machine precision and then the
44 operation is performed.
45 </para>
46 </refsect1>
47
48 <refsect1>
49 <title>Examples</title>
50 <para>
51 Here is an example for the bitwise-group, comparing the different bitwise opcodes. It uses the file <ulink url="examples/bitwise-group.csd"><citetitle>bitwise-group.csd</citetitle></ulink>.
52 <example>
53 <title>Example of the bitwise group.</title>
54 <xi:include href="examples-xml/bitwise-group.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
55 </example>
56 </para>
57 </refsect1>
58
59 <refsect1>
60 <title>See also</title>
61 <para><link linkend="MathArtLogic"><citetitle>Arithmetic and Logic Operations</citetitle></link></para>
62 </refsect1>
63
64 </refentry>