summaryrefslogtreecommitdiff
path: root/opcodes/qinf.xml
blob: ed998d31d61d83117802dd894d2af3978cd6e04c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<refentry id="qinf">
<indexterm id="IndexQinf"><primary>qinf</primary></indexterm>
  <refentryinfo><title>Mathematical Operations:Mathematical Functions</title></refentryinfo>
  <refmeta>
    <refentrytitle>qinf</refentrytitle>
  </refmeta>


 
  <refnamediv>
    <refname>qinf</refname>

    <refpurpose>
      Questions whether the argument is a infinite number
    </refpurpose>
  </refnamediv>

  <refsect1>
    <title>Description</title>
    <para>
      Returns the number of times the argument is not a number, with
      the sign of the first infinity.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis><command>qinf</command>(x) (no rate restriction)</synopsis>
  </refsect1>

  <refsect1>
    <title>Examples</title>
    <para>
      Here is an example of the qinf opcode. It uses the file <ulink url="examples/qinf.csd"><citetitle>qinf.csd</citetitle></ulink>.

      <example>
        <title>Example of the qinf opcode.</title>

        

        <para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para>
          <xi:include href="examples-xml/qinf.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
      </example>

    </para>
  </refsect1>

  <refsect1>
    <title>Credits</title>
    <para>Written by &namejohn;.</para>
    <para>New in Csound 5.14</para>
  </refsect1>
</refentry>