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">
9 <holder>Khronos Group
</holder>
12 <refentrytitle>pow
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>pow
</refname>
17 <refpurpose>return the value of the first parameter raised to the power of the second
</refpurpose>
19 <refsynopsisdiv><title>Declaration
</title>
22 <funcdef>genType
<function>pow
</function></funcdef>
23 <paramdef>genType
<parameter>x
</parameter></paramdef>
24 <paramdef>genType
<parameter>y
</parameter></paramdef>
28 <refsect1 id=
"parameters"><title>Parameters
</title>
31 <term><parameter>x
</parameter></term>
34 Specify the value to raise to the power
<parameter>y
</parameter>.
39 <term><parameter>y
</parameter></term>
42 Specify the power to which to raise
<parameter>x
</parameter>.
48 <refsect1 id=
"description"><title>Description
</title>
50 <function>pow
</function> returns the value of
<parameter>x
</parameter> raised to the
<parameter>y
</parameter> power. i.e.,
51 <inlineequation><mml:math><mml:msup><mml:mi>x
</mml:mi><mml:mi>y
</mml:mi></mml:msup></mml:math></inlineequation>.
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>
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
54 <inlineequation><mml:math><mml:apply><mml:eq /><mml:mi>y
</mml:mi><mml:mn>0</mml:mn></mml:apply></mml:math></inlineequation>.
57 <refsect1 id=
"versions"><title>Version Support
</title>
58 <informaltable frame=
"topbot">
63 <entry>pow
</entry>#newin11#
69 <refsect1 id=
"seealso"><title>See Also
</title>
71 <citerefentry><refentrytitle>sin
</refentrytitle></citerefentry>,
72 <citerefentry><refentrytitle>cos
</refentrytitle></citerefentry>,
73 <citerefentry><refentrytitle>sinh
</refentrytitle></citerefentry>,
74 <citerefentry><refentrytitle>cosh
</refentrytitle></citerefentry>
77 <refsect1 id=
"Copyright"><title>Copyright
</title>
79 Copyright
<trademark class=
"copyright"></trademark> 2011 Khronos Group.
80 This material may be distributed subject to the terms and conditions set forth in
81 the Open Publication License, v
1.0,
8 June
1999.
82 <ulink url=
"http://opencontent.org/openpub/">http://opencontent.org/openpub/
</ulink>.