reference/gmp/functions/gmp-sqrtrem.xml
039ab719e695141ee54409d26ad828337ec31d6e
...
...
@@ -1,6 +1,6 @@
1
-
<?xml version='1.0' encoding="utf-8"?>
1
+
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.gmp-sqrtrem">
3
+
<refentry xml:id="function.gmp-sqrtrem" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>gmp_sqrtrem</refname>
6
6
<refpurpose>Square root with remainder</refpurpose>
...
...
@@ -10,7 +10,7 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>array</type><methodname>gmp_sqrtrem</methodname>
13
-
<methodparam><type>resource</type><parameter>a</parameter></methodparam>
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
16
Calculate the square root of a number, with remainder.
...
...
@@ -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
<para>
28
28
The number being square rooted.
...
...
@@ -38,8 +38,8 @@
38
38
&reftitle.returnvalues;
39
39
<para>
40
40
Returns array where first element is the integer square root of
41
-
<parameter>a</parameter> and the second is the remainder
42
-
(i.e., the difference between <parameter>a</parameter> and the
41
+
<parameter>num</parameter> and the second is the remainder
42
+
(i.e., the difference between <parameter>num</parameter> and the
43
43
first element squared).
44
44
</para>
45
45
</refsect1>
...
...
@@ -75,7 +75,6 @@ echo gmp_strval($sqrt3) . ", " . gmp_strval($sqrt3rem) . "\n";
75
75
</refsect1>
76
76

77
77
</refentry>
78
-

79
78
<!-- Keep this comment at the end of the file
80
79
Local variables:
81
80
mode: sgml
82
81