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">
14
<refentrytitle>nan</refentrytitle>
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>
30
<manvolnum>3</manvolnum>
33
<!-- ================================ SYNOPSIS -->
36
<refname>nan</refname>
43
<refsynopsisdiv xmlns:xlink="http://www.w3.org/1999/xlink"><title></title>
47
<link xlink:href="vectorDataTypes.html">float<varname>n</varname></link>
53
<link xlink:href="vectorDataTypes.html">uint<varname>n</varname></link>
54
<parameter>nancode</parameter>
61
<link xlink:href="vectorDataTypes.html">float</link>
67
<link xlink:href="vectorDataTypes.html">uint</link>
68
<parameter>nancode</parameter>
77
<link xlink:href="vectorDataTypes.html">double<varname>n</varname></link>
83
<link xlink:href="vectorDataTypes.html">ulong<varname>n</varname></link>
84
<parameter>nancode</parameter>
91
<link xlink:href="vectorDataTypes.html">double</link>
97
<link xlink:href="vectorDataTypes.html">ulong</link>
98
<parameter>nancode</parameter>
104
<!-- Optional Double and Half prototypes -->
105
<refsect2 xmlns:xlink="http://www.w3.org/1999/xlink" id="double">
108
<informaltable frame="none">
109
<tgroup cols="1" align="left" colsep="0" rowsep="0">
110
<colspec colname="col1" colnum="1" />
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
122
<!-- ================================ DESCRIPTION -->
124
<refsect1 id="description"><title>Description</title>
126
<function>nan</function> returns a quiet NaN. The <varname>nancode</varname> may be
127
placed in the significand of the resulting NaN.
131
<!-- ================================ NOTES -->
133
<refsect1 id="notes"><title>Notes</title>
139
<!-- ================================ EXAMPLE -->
140
<!-- DO NOT DELETE IN CASE AN EXAMPLE IS ADDED IN THE FUTURE -->
142
<refsect2 id="example1">
147
<informaltable frame="none">
148
<tgroup cols="1" align="left" colsep="0" rowsep="0">
149
<colspec colname="col1" colnum="1" />
153
Example goes here - it will be set in "code" type with white space preserved.
162
<!-- ================================ SPECIFICATION -->
163
<!-- Set the "uri" attribute in the <olink /> element to the "named destination" for the PDF page
165
<refsect1 id="specification"><title>Specification</title>
168
<imagedata fileref="pdficon_small1.gif" format="gif" />
171
<olink uri="mathFunctions">OpenCL Specification</olink>
175
<!-- ================================ ALSO SEE -->
177
<refsect1 id="seealso"><title>Also see</title>
179
<citerefentry href="mathFunctions"><refentrytitle>Math Functions</refentrytitle></citerefentry>
183
<!-- ============================== COPYRIGHT -->
184
<!-- Content included from copyright.inc.xsl -->
186
<refsect3 id="Copyright"><title></title>
188
<imagedata fileref="KhronosLogo.jpg" format="jpg" />