cvs: phpdoc /en/reference/math/functions log.xml
| From: | Jesus M. Castagnetto | Date: | Thu, 26 Dec 2002 23:22:48 +0000 |
| Subject: | cvs: phpdoc /en/reference/math/functions log.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969350413@lists.php.net to get a copy of this message | ||
jmcastagnetto Thu Dec 26 18:22:48 2002 EDT
Modified files:
/phpdoc/en/reference/math/functions log.xml
Log:
Adding ref to the equation: log_b(n) = log(n)/log(b), so no more incorrect
notes will be added by people who have forgotten their logarithms ;-)
Index: phpdoc/en/reference/math/functions/log.xml
diff -u phpdoc/en/reference/math/functions/log.xml:1.5
phpdoc/en/reference/math/functions/log.xml:1.6
--- phpdoc/en/reference/math/functions/log.xml:1.5 Mon Nov 11 05:06:19 2002
+++ phpdoc/en/reference/math/functions/log.xml Thu Dec 26 18:22:48 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.log">
<refnamediv>
@@ -23,6 +23,12 @@
<para>
The <parameter>base</parameter> parameter became available
with PHP version 4.3.0.
+ </para>
+ <para>
+ As always you can calculate the logarithm in base <literal>b</literal>
+ of a number <literal>n</literal>, but using the mathematical identity:
+ log<subscript>b</subscript>(n) = log(n)/log(b), where log is the
+ neperian (or natural) logarithm.
</para>
</note>
</refsect1>