| 1 | |
| 2 | <refentry id="opnonequiv"> |
| 3 | <indexterm id="IndexNonEquiv"><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 NON EQUIVALENCE 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>a <command>#</command> b (bitwise NON EQUIVALENCE)</synopsis> |
| 39 | |
| 40 | <para> |
| 41 | where the arguments <emphasis>a</emphasis> and |
| 42 | <emphasis>b</emphasis> may be further expressions. They are |
| 43 | converted to the nearest integer to machine precision and then the |
| 44 | operation is performed. |
| 45 | </para> |
| 46 | </refsect1> |
| 47 | |
| 48 | |
| 49 | <refsect1> |
| 50 | <title>Examples</title> |
| 51 | <para> |
| 52 | 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>. |
| 53 | <example> |
| 54 | <title>Example of the bitwise group.</title> |
| 55 | <xi:include href="examples-xml/bitwise-group.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 56 | </example> |
| 57 | </para> |
| 58 | </refsect1> |
| 59 | |
| 60 | <refsect1> |
| 61 | <title>See also</title> |
| 62 | <para><link linkend="MathArtLogic"><citetitle>Arithmetic and Logic Operations</citetitle></link></para> |
| 63 | </refsect1> |
| 64 | |
| 65 | </refentry> |