f7df0b1abc5e756f41e3b1edfcfdddc5c512191e
[clinton/guile-figl.git] / upstream-man-pages / manglsl / isinf.xml
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 <refentry id="isinf">
5 <refmeta>
6 <refmetainfo>
7 <copyright>
8 <year>2011</year>
9 <holder>Khronos Group</holder>
10 </copyright>
11 </refmetainfo>
12 <refentrytitle>isinf</refentrytitle>
13 <manvolnum>3G</manvolnum>
14 </refmeta>
15 <refnamediv>
16 <refname>isinf</refname>
17 <refpurpose>determine whether the parameter is positive or negative infinity</refpurpose>
18 </refnamediv>
19 <refsynopsisdiv><title>Declaration</title>
20 <funcsynopsis>
21 <funcprototype>
22 <funcdef>genBType <function>isinf</function></funcdef>
23 <paramdef>genType <parameter>x</parameter></paramdef>
24 </funcprototype>
25 <funcprototype>
26 <funcdef>genBType <function>isinf</function></funcdef>
27 <paramdef>genDType <parameter>x</parameter></paramdef>
28 </funcprototype>
29 </funcsynopsis>
30 </refsynopsisdiv>
31 <refsect1 id="parameters"><title>Parameters</title>
32 <variablelist>
33 <varlistentry>
34 <term><parameter>x</parameter></term>
35 <listitem>
36 <para>
37 Specifies the value to test for infinity.
38 </para>
39 </listitem>
40 </varlistentry>
41 </variablelist>
42 </refsect1>
43 <refsect1 id="description"><title>Description</title>
44 <para>
45 For each element element <emphasis>i</emphasis> of the result, <function>isinf</function> returns <constant>true</constant> if
46 <parameter>x</parameter>[<emphasis>i</emphasis>] is posititve or negative floating point infinity and false otherwise.
47 </para>
48 </refsect1>
49 <refsect1 id="versions"><title>Version Support</title>
50 <informaltable frame="topbot">
51 #VARTABLECOLS#
52 <thead>
53 #FUNCTABLEHEADER#
54 <row>
55 <entry>isinf (genType)</entry>#newin11#
56 </row>
57 <row>
58 <entry>isinf (genDType)</entry>#newin40#
59 </row>
60 </thead>
61 </tgroup>
62 </informaltable>
63 </refsect1>
64 <refsect1 id="seealso"><title>See Also</title>
65 <para>
66 <citerefentry><refentrytitle>isnan</refentrytitle></citerefentry>
67 </para>
68 </refsect1>
69 <refsect1 id="Copyright"><title>Copyright</title>
70 <para>
71 Copyright <trademark class="copyright"></trademark> 2011 Khronos Group.
72 This material may be distributed subject to the terms and conditions set forth in
73 the Open Publication License, v 1.0, 8 June 1999.
74 <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
75 </para>
76 </refsect1>
77 </refentry>