cvs: phpdoc-zh /reference/math/functions exp.xml
| From: | liuming | Date: | Thu, 11 Aug 2005 10:20:01 +0000 |
| Subject: | cvs: phpdoc-zh /reference/math/functions exp.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2167@lists.php.net to get a copy of this message | ||
lm92 Thu Aug 11 06:20:01 2005 EDT
Modified files:
/phpdoc-zh/reference/math/functions exp.xml
Log:
updated to en version
http://cvs.php.net/diff.php/phpdoc-zh/reference/math/functions/exp.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc-zh/reference/math/functions/exp.xml
diff -u phpdoc-zh/reference/math/functions/exp.xml:1.4
phpdoc-zh/reference/math/functions/exp.xml:1.5
--- phpdoc-zh/reference/math/functions/exp.xml:1.4 Sat May 17 03:04:22 2003
+++ phpdoc-zh/reference/math/functions/exp.xml Thu Aug 11 06:19:56 2005
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.4 $ -->
-<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.4 Maintainer: lm92 Status: ready -->
-<!-- CREDITS: dallas -->
-<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
+<!-- $Revision: 1.5 $ -->
+<!-- $Author: lm92 $ -->
+<!-- EN-Revision: 1.8 Maintainer: dallas Status: ready -->
+<!-- CREDITS: lm92 -->
<refentry id="function.exp">
<refnamediv>
<refname>exp</refname>
@@ -18,6 +17,32 @@
<para>
·µ»Ø <constant>e</constant> µÄ <parameter>arg</parameter>
´Î·½Öµ¡£
</para>
+ <note>
+ <para>
+ Óà 'e' ×÷Ϊ×ÔÈ»¶ÔÊýµÄµ×
+ 2.718282.
+ </para>
+ </note>
+ <para>
+ <example>
+ <title><function>exp</function> ·¶Àý</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+echo exp(12) . "\n";
+echo exp(5.7);
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+1.6275E+005
+298.87
+]]>
+ </screen>
+ </example>
+ </para>
<para>
²Î¼û <function>log</function> ºÍ <function>pow</function>¡£
</para>