reference/math/functions/decoct.xml
0c9c2dd669fe9395eaa73d487fbd160f9057429a
...
...
@@ -7,14 +7,18 @@
7
7
</refnamediv>
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
-
<methodsynopsis>
11
-
<type>string</type><methodname>decoct</methodname>
12
-
<methodparam><type>int</type><parameter>number</parameter></methodparam>
13
-
</methodsynopsis>
10
+
<methodsynopsis>
11
+
<type>string</type><methodname>decoct</methodname>
12
+
<methodparam><type>int</type><parameter>num</parameter></methodparam>
13
+
</methodsynopsis>
14
14
<para>
15
15
Returns a string containing an octal representation of the given
16
-
<parameter>number</parameter> argument. The largest number that can be converted is
17
-
4294967295 in decimal resulting to "37777777777".
16
+
<parameter>num</parameter> argument. The largest number that can be
17
+
converted depends on the platform in use. For 32-bit platforms this is
18
+
usually <literal>4294967295</literal> in decimal resulting in
19
+
<literal>37777777777</literal>. For 64-bit platforms this is usually
20
+
<literal>9223372036854775807</literal> in decimal resulting in
21
+
<literal>777777777777777777777</literal>.
18
22
</para>
19
23
</refsect1>
20
24
<refsect1 role="parameters">
...
...
@@ -22,7 +26,7 @@
22
26
<para>
23
27
<variablelist>
24
28
<varlistentry>
25
-
<term><parameter>number</parameter></term>
29
+
<term><parameter>num</parameter></term>
26
30
<listitem>
27
31
<para>
28
32
Decimal value to convert
...
...
@@ -35,7 +39,7 @@
35
39
<refsect1 role="returnvalues">
36
40
&reftitle.returnvalues;
37
41
<para>
38
-
Octal string representation of <parameter>number</parameter>
42
+
Octal string representation of <parameter>num</parameter>
39
43
</para>
40
44
</refsect1>
41
45
<refsect1 role="examples">
...
...
@@ -73,7 +77,6 @@ echo decoct(264);
73
77
</para>
74
78
</refsect1>
75
79
</refentry>
76
-

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