[PATCH] /en/reference/math/functions/log.xml
| From: | Pollita | Date: | Mon, 11 Nov 2002 06:41:59 +0000 |
| Subject: | [PATCH] /en/reference/math/functions/log.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969349572@lists.php.net to get a copy of this message | ||
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>
--- 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>