The attached patch updates rev 1.3 of /en/reference/math/functions/log.xml
to include documentation for new functionality added to log() in rev. 1.94
of /ext/standard/math.c in /php4

--- log.xml     Sun Nov 10 22:13:50 2002
+++ log-smg.xml Sun Nov 10 22:36:59 2002
@@ -11,10 +11,20 @@
      <methodsynopsis>
       <type>float</type><methodname>log</methodname>
       <methodparam><type>float</type><parameter>arg</parameter></methodparam>
+      <methodparam 
+choice="opt"><type>float</type><parameter>base</parameter></methodparam>
      </methodsynopsis>
     <para>
-     Returns the natural logarithm of <parameter>arg</parameter>.
+     If <parameter>base</parameter> is specified, log() returns
+     log<subscrip><parameter>base</parameter></subscrip> 
+     <parameter>arg</parameter>, otherwise log() returns 
+     the natural logarithm of <parameter>arg</parameter>.
     </para>
+    <note>
+      <para>
+       The <parameter>base</parameter> parameter became available
+       with PHP ver 4.3.0
+      </para>
+    </note>
    </refsect1>
   </refentry>
 

-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to