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