rename upstream-man-pages to upstream-doc
[clinton/guile-figl.git] / upstream-doc / manglsl / pow.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="pow">\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>pow</refentrytitle>\r
13 <manvolnum>3G</manvolnum>\r
14 </refmeta>\r
15 <refnamediv>\r
16 <refname>pow</refname>\r
17 <refpurpose>return the value of the first parameter raised to the power of the second</refpurpose>\r
18 </refnamediv>\r
19 <refsynopsisdiv><title>Declaration</title>\r
20 <funcsynopsis>\r
21 <funcprototype>\r
22 <funcdef>genType <function>pow</function></funcdef>\r
23 <paramdef>genType <parameter>x</parameter></paramdef>\r
24 <paramdef>genType <parameter>y</parameter></paramdef>\r
25 </funcprototype>\r
26 </funcsynopsis>\r
27 </refsynopsisdiv>\r
28 <refsect1 id="parameters"><title>Parameters</title>\r
29 <variablelist>\r
30 <varlistentry>\r
31 <term><parameter>x</parameter></term>\r
32 <listitem>\r
33 <para>\r
34 Specify the value to raise to the power <parameter>y</parameter>.\r
35 </para>\r
36 </listitem>\r
37 </varlistentry>\r
38 <varlistentry>\r
39 <term><parameter>y</parameter></term>\r
40 <listitem>\r
41 <para>\r
42 Specify the power to which to raise <parameter>x</parameter>.\r
43 </para>\r
44 </listitem>\r
45 </varlistentry>\r
46 </variablelist>\r
47 </refsect1>\r
48 <refsect1 id="description"><title>Description</title>\r
49 <para>\r
50 <function>pow</function> returns the value of <parameter>x</parameter> raised to the <parameter>y</parameter> power. i.e.,\r
51 <inlineequation><mml:math><mml:msup><mml:mi>x</mml:mi><mml:mi>y</mml:mi></mml:msup></mml:math></inlineequation>.\r
52 Results are undefined if <inlineequation><mml:math><mml:apply><mml:lt /><mml:mi>x</mml:mi><mml:mn>0</mml:mn></mml:apply></mml:math></inlineequation>\r
53 or if <inlineequation><mml:math><mml:apply><mml:eq /><mml:mi>x</mml:mi><mml:mn>0</mml:mn></mml:apply></mml:math></inlineequation> and\r
54 <inlineequation><mml:math><mml:apply><mml:eq /><mml:mi>y</mml:mi><mml:mn>0</mml:mn></mml:apply></mml:math></inlineequation>.\r
55 </para>\r
56 </refsect1>\r
57 <refsect1 id="versions"><title>Version Support</title>\r
58 <informaltable frame="topbot">\r
59 #VARTABLECOLS#\r
60 <thead>\r
61 #FUNCTABLEHEADER#\r
62 <row>\r
63 <entry>pow</entry>#newin11#\r
64 </row>\r
65 </thead>\r
66 </tgroup>\r
67 </informaltable>\r
68 </refsect1>\r
69 <refsect1 id="seealso"><title>See Also</title>\r
70 <para>\r
71 <citerefentry><refentrytitle>sin</refentrytitle></citerefentry>,\r
72 <citerefentry><refentrytitle>cos</refentrytitle></citerefentry>,\r
73 <citerefentry><refentrytitle>sinh</refentrytitle></citerefentry>,\r
74 <citerefentry><refentrytitle>cosh</refentrytitle></citerefentry>\r
75 </para>\r
76 </refsect1>\r
77 <refsect1 id="Copyright"><title>Copyright</title>\r
78 <para>\r
79 Copyright <trademark class="copyright"></trademark> 2011 Khronos Group. \r
80 This material may be distributed subject to the terms and conditions set forth in \r
81 the Open Publication License, v 1.0, 8 June 1999.\r
82 <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.\r
83 </para>\r
84 </refsect1>\r
85</refentry>\r