~ubuntu-branches/ubuntu/trusty/khronos-opencl-man/trusty

« back to all changes in this revision

Viewing changes to nan.xml

  • Committer: Package Import Robot
  • Author(s): Mathieu Malaterre
  • Date: 2013-05-21 18:06:15 UTC
  • Revision ID: package-import@ubuntu.com-20130521180615-6e0s2n3pai95ip2f
Tags: upstream-1.0~svn21772
ImportĀ upstreamĀ versionĀ 1.0~svn21772

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
 
3
              "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd" [
 
4
<!ENTITY mathFunctionsInc SYSTEM "mathFunctionsInc.xml">
 
5
]>
 
6
<refentry>
 
7
    <refentryinfo>
 
8
        <keywordset>
 
9
            <keyword>nan</keyword>
 
10
        </keywordset>
 
11
    </refentryinfo>
 
12
 
 
13
    <refmeta>
 
14
        <refentrytitle>nan</refentrytitle>
 
15
 
 
16
        <refmiscinfo>
 
17
            <copyright>
 
18
                <year>2007-2011</year>
 
19
                <holder>The Khronos Group Inc.
 
20
 Permission is hereby granted, free of charge, to any person obtaining a
 
21
copy of this software and/or associated documentation files (the
 
22
"Materials"), to deal in the Materials without restriction, including
 
23
without limitation the rights to use, copy, modify, merge, publish,
 
24
distribute, sublicense, and/or sell copies of the Materials, and to
 
25
permit persons to whom the Materials are furnished to do so, subject to
 
26
the condition that this copyright notice and permission notice shall be included
 
27
in all copies or substantial portions of the Materials.</holder>
 
28
            </copyright>
 
29
        </refmiscinfo>
 
30
        <manvolnum>3</manvolnum>
 
31
    </refmeta>
 
32
 
 
33
<!-- ================================ SYNOPSIS -->
 
34
 
 
35
    <refnamediv id="nan">
 
36
        <refname>nan</refname>
 
37
 
 
38
        <refpurpose>
 
39
            Quiet NaN
 
40
        </refpurpose>
 
41
    </refnamediv>
 
42
 
 
43
    <refsynopsisdiv xmlns:xlink="http://www.w3.org/1999/xlink"><title></title>
 
44
        <funcsynopsis>
 
45
            <funcprototype>
 
46
                <funcdef>
 
47
                    <link xlink:href="vectorDataTypes.html">float<varname>n</varname></link>
 
48
                    <function>
 
49
                        nan
 
50
                    </function>
 
51
                </funcdef>
 
52
                <paramdef>
 
53
                    <link xlink:href="vectorDataTypes.html">uint<varname>n</varname></link>
 
54
                    <parameter>nancode</parameter>
 
55
                </paramdef>
 
56
            </funcprototype>
 
57
        </funcsynopsis>
 
58
        <funcsynopsis>
 
59
            <funcprototype>
 
60
                <funcdef>
 
61
                    <link xlink:href="vectorDataTypes.html">float</link>
 
62
                    <function>
 
63
                        nan
 
64
                    </function>
 
65
                </funcdef>
 
66
                <paramdef>
 
67
                    <link xlink:href="vectorDataTypes.html">uint</link>
 
68
                    <parameter>nancode</parameter>
 
69
                </paramdef>
 
70
            </funcprototype>
 
71
        </funcsynopsis>
 
72
 
 
73
 
 
74
        <funcsynopsis>
 
75
            <funcprototype>
 
76
                <funcdef>
 
77
                    <link xlink:href="vectorDataTypes.html">double<varname>n</varname></link>
 
78
                    <function>
 
79
                        nan
 
80
                    </function>
 
81
                </funcdef>
 
82
                <paramdef>
 
83
                    <link xlink:href="vectorDataTypes.html">ulong<varname>n</varname></link>
 
84
                    <parameter>nancode</parameter>
 
85
               </paramdef>
 
86
            </funcprototype>
 
87
        </funcsynopsis>
 
88
        <funcsynopsis>
 
89
            <funcprototype>
 
90
                <funcdef>
 
91
                    <link xlink:href="vectorDataTypes.html">double</link>
 
92
                    <function>
 
93
                        nan
 
94
                    </function>
 
95
                </funcdef>
 
96
                <paramdef>
 
97
                    <link xlink:href="vectorDataTypes.html">ulong</link>
 
98
                    <parameter>nancode</parameter>
 
99
               </paramdef>
 
100
            </funcprototype>
 
101
        </funcsynopsis>
 
102
    </refsynopsisdiv>
 
103
 
 
104
<!-- Optional Double and Half prototypes -->
 
105
 <refsect2 xmlns:xlink="http://www.w3.org/1999/xlink" id="double">
 
106
        <title></title>
 
107
 
 
108
        <informaltable frame="none">
 
109
            <tgroup cols="1" align="left" colsep="0" rowsep="0">
 
110
                <colspec colname="col1" colnum="1" />
 
111
                <tbody>
 
112
                    <row>
 
113
                        <entry>
 
114
<type><link xlink:href="vectorDataTypes.html">half<varname>n</varname></link></type> <function>nan</function> (<type><link xlink:href="vectorDataTypes.html">ushort<varname>n</varname></link></type> <varname>nancode</varname>)      // if half extension enabled
 
115
</entry>
 
116
                    </row>
 
117
                </tbody>
 
118
            </tgroup>
 
119
        </informaltable>
 
120
    </refsect2>
 
121
 
 
122
<!-- ================================ DESCRIPTION  -->
 
123
 
 
124
    <refsect1 id="description"><title>Description</title>
 
125
        <para>
 
126
          <function>nan</function> returns a quiet NaN. The <varname>nancode</varname> may be
 
127
          placed in the significand of the resulting NaN.
 
128
        </para>
 
129
    </refsect1>
 
130
 
 
131
<!-- ================================ NOTES  -->
 
132
 
 
133
    <refsect1 id="notes"><title>Notes</title>
 
134
 
 
135
        &mathFunctionsInc;
 
136
 
 
137
    </refsect1>
 
138
 
 
139
<!-- ================================ EXAMPLE  -->
 
140
<!-- DO NOT DELETE IN CASE AN EXAMPLE IS ADDED IN THE FUTURE -->
 
141
<!--
 
142
    <refsect2 id="example1">
 
143
        <title>
 
144
            Example
 
145
        </title>
 
146
 
 
147
        <informaltable frame="none">
 
148
            <tgroup cols="1" align="left" colsep="0" rowsep="0">
 
149
                <colspec colname="col1" colnum="1" />
 
150
                <tbody>
 
151
                    <row>
 
152
                        <entry>
 
153
                            Example goes here - it will be set in "code" type with white space preserved.
 
154
                        </entry>
 
155
                    </row>
 
156
                </tbody>
 
157
            </tgroup>
 
158
        </informaltable>
 
159
    </refsect2>
 
160
-->
 
161
 
 
162
<!-- ================================ SPECIFICATION  -->
 
163
<!-- Set the "uri" attribute in the <olink /> element to the "named destination" for the PDF page
 
164
-->
 
165
    <refsect1 id="specification"><title>Specification</title>
 
166
        <para>
 
167
            <imageobject>
 
168
                <imagedata fileref="pdficon_small1.gif" format="gif" />
 
169
            </imageobject>
 
170
 
 
171
            <olink uri="mathFunctions">OpenCL Specification</olink>
 
172
        </para>
 
173
    </refsect1>
 
174
 
 
175
<!-- ================================ ALSO SEE  -->
 
176
 
 
177
    <refsect1 id="seealso"><title>Also see</title>
 
178
        <para>
 
179
            <citerefentry href="mathFunctions"><refentrytitle>Math Functions</refentrytitle></citerefentry>
 
180
        </para>
 
181
    </refsect1>
 
182
 
 
183
<!-- ============================== COPYRIGHT -->
 
184
<!-- Content included from copyright.inc.xsl -->
 
185
 
 
186
    <refsect3 id="Copyright"><title></title>
 
187
        <imageobject>
 
188
                <imagedata fileref="KhronosLogo.jpg" format="jpg" />
 
189
        </imageobject>
 
190
        <para />
 
191
    </refsect3>
 
192
 
 
193
<!-- 14-Oct-2011 -->
 
194
</refentry>
 
195