reference/math/functions/log.xml
26ce97891946b6ce1d7e79c171802a447e1eea34
...
...
@@ -7,16 +7,16 @@
7
7
</refnamediv>
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
-
<methodsynopsis>
11
-
<type>float</type><methodname>log</methodname>
12
-
<methodparam><type>float</type><parameter>arg</parameter></methodparam>
13
-
<methodparam choice="opt"><type>float</type><parameter>base</parameter><initializer>M_E</initializer></methodparam>
14
-
</methodsynopsis>
10
+
<methodsynopsis>
11
+
<type>float</type><methodname>log</methodname>
12
+
<methodparam><type>float</type><parameter>num</parameter></methodparam>
13
+
<methodparam choice="opt"><type>float</type><parameter>base</parameter><initializer><constant>M_E</constant></initializer></methodparam>
14
+
</methodsynopsis>
15
15
<para>
16
16
If the optional <parameter>base</parameter> parameter is specified,
17
17
<function>log</function> returns log<subscript>base</subscript>
18
-
<parameter>arg</parameter>, otherwise <function>log</function>
19
-
returns the natural logarithm of <parameter>arg</parameter>.
18
+
<parameter>num</parameter>, otherwise <function>log</function>
19
+
returns the natural logarithm of <parameter>num</parameter>.
20
20
</para>
21
21
</refsect1>
22
22
<refsect1 role="parameters">
...
...
@@ -24,7 +24,7 @@
24
24
<para>
25
25
<variablelist>
26
26
<varlistentry>
27
-
<term><parameter>arg</parameter></term>
27
+
<term><parameter>num</parameter></term>
28
28
<listitem>
29
29
<para>
30
30
The value to calculate the logarithm for
...
...
@@ -46,7 +46,7 @@
46
46
<refsect1 role="returnvalues">
47
47
&reftitle.returnvalues;
48
48
<para>
49
-
The logarithm of <parameter>arg</parameter> to
49
+
The logarithm of <parameter>num</parameter> to
50
50
<parameter>base</parameter>, if given, or the
51
51
natural logarithm.
52
52
</para>
...
...
@@ -58,11 +58,11 @@
58
58
<member><function>log10</function></member>
59
59
<member><function>exp</function></member>
60
60
<member><function>pow</function></member>
61
+
<member><function>error_log</function></member>
61
62
</simplelist>
62
63
</para>
63
64
</refsect1>
64
65
</refentry>
65
-

66
66
<!-- Keep this comment at the end of the file
67
67
Local variables:
68
68
mode: sgml
69
69