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