include more low-level bindings
[clinton/guile-figl.git] / upstream-man-pages / manglsl / exp2.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="exp2">
5 <refmeta>
6 <refmetainfo>
7 <copyright>
8 <year>2011</year>
9 <holder>Khronos Group</holder>
10 </copyright>
11 </refmetainfo>
12 <refentrytitle>exp2</refentrytitle>
13 <manvolnum>3G</manvolnum>
14 </refmeta>
15 <refnamediv>
16 <refname>exp2</refname>
17 <refpurpose>return 2 raised to the power of the parameter</refpurpose>
18 </refnamediv>
19 <refsynopsisdiv><title>Declaration</title>
20 <funcsynopsis>
21 <funcprototype>
22 <funcdef>genType <function>exp2</function></funcdef>
23 <paramdef>genType <parameter>x</parameter></paramdef>
24 </funcprototype>
25 </funcsynopsis>
26 </refsynopsisdiv>
27 <refsect1 id="parameters"><title>Parameters</title>
28 <variablelist>
29 <varlistentry>
30 <term><parameter>x</parameter></term>
31 <listitem>
32 <para>
33 Specify the value of the power to which 2 will be raised.
34 </para>
35 </listitem>
36 </varlistentry>
37 </variablelist>
38 </refsect1>
39 <refsect1 id="description"><title>Description</title>
40 <para>
41 <function>exp2</function> returns 2 raised to the power of <parameter>x</parameter>. i.e.,
42 <inlineequation><mml:math><mml:msup><mml:mn>2</mml:mn><mml:mi>x</mml:mi></mml:msup></mml:math></inlineequation>.
43 </para>
44 </refsect1>
45 <refsect1 id="versions"><title>Version Support</title>
46 <informaltable frame="topbot">
47 #VARTABLECOLS#
48 <thead>
49 #FUNCTABLEHEADER#
50 <row>
51 <entry>exp2</entry>#newin11#
52 </row>
53 </thead>
54 </tgroup>
55 </informaltable>
56 </refsect1>
57 <refsect1 id="seealso"><title>See Also</title>
58 <para>
59 <citerefentry><refentrytitle>exp</refentrytitle></citerefentry>,
60 <citerefentry><refentrytitle>log</refentrytitle></citerefentry>,
61 <citerefentry><refentrytitle>log2</refentrytitle></citerefentry>
62 </para>
63 </refsect1>
64 <refsect1 id="Copyright"><title>Copyright</title>
65 <para>
66 Copyright <trademark class="copyright"></trademark> 2011 Khronos Group.
67 This material may be distributed subject to the terms and conditions set forth in
68 the Open Publication License, v 1.0, 8 June 1999.
69 <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.
70 </para>
71 </refsect1>
72 </refentry>