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>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php