reference/gmp/functions/gmp-sqrt.xml
039ab719e695141ee54409d26ad828337ec31d6e
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.gmp-sqrt">
3
+
<refentry xml:id="function.gmp-sqrt" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>gmp_sqrt</refname>
6
6
<refpurpose>Calculate square root</refpurpose>
...
...
@@ -9,11 +9,11 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>resource</type><methodname>gmp_sqrt</methodname>
13
-
<methodparam><type>resource</type><parameter>a</parameter></methodparam>
12
+
<type>GMP</type><methodname>gmp_sqrt</methodname>
13
+
<methodparam><type class="union"><type>GMP</type><type>int</type><type>string</type></type><parameter>num</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
-
Calculates square root of <parameter>a</parameter>.
16
+
Calculates square root of <parameter>num</parameter>.
17
17
</para>
18
18
</refsect1>
19
19

...
...
@@ -22,7 +22,7 @@
22
22
<para>
23
23
<variablelist>
24
24
<varlistentry>
25
-
<term><parameter>a</parameter></term>
25
+
<term><parameter>num</parameter></term>
26
26
<listitem>
27
27
&gmp.parameter;
28
28
</listitem>
...
...
@@ -69,7 +69,6 @@ echo gmp_strval($sqrt3) . "\n";
69
69
</refsect1>
70
70

71
71
</refentry>
72
-

73
72
<!-- Keep this comment at the end of the file
74
73
Local variables:
75
74
mode: sgml
76
75