reference/gmp/functions/gmp-fact.xml
50d9745e66befe000c677ba9b5f99c0a6e060556
...
...
@@ -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-fact">
3
+
<refentry xml:id="function.gmp-fact" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>gmp_fact</refname>
6
6
<refpurpose>Factorial</refpurpose>
...
...
@@ -10,10 +10,10 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>GMP</type><methodname>gmp_fact</methodname>
13
-
<methodparam><type>mixed</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
-
Calculates factorial (<literal>a!</literal>) of <parameter>a</parameter>.
16
+
Calculates factorial (<literal>num!</literal>) 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
<para>
28
28
The factorial number.
...
...
@@ -69,7 +69,6 @@ echo gmp_strval($fact2) . "\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