cvs: phpdoc-zh /reference/math/functions pow.xml
| From: | liuming | Date: | Fri, 12 Aug 2005 03:59:02 +0000 |
| Subject: | cvs: phpdoc-zh /reference/math/functions pow.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2200@lists.php.net to get a copy of this message | ||
lm92 Thu Aug 11 23:59:02 2005 EDT
Modified files:
/phpdoc-zh/reference/math/functions pow.xml
Log:
updated to en version
http://cvs.php.net/diff.php/phpdoc-zh/reference/math/functions/pow.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc-zh/reference/math/functions/pow.xml
diff -u phpdoc-zh/reference/math/functions/pow.xml:1.1
phpdoc-zh/reference/math/functions/pow.xml:1.2
--- phpdoc-zh/reference/math/functions/pow.xml:1.1 Wed Mar 12 06:06:07 2003
+++ phpdoc-zh/reference/math/functions/pow.xml Thu Aug 11 23:58:59 2005
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.1 $ -->
-<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.2 Maintainer: dallas Status: ready -->
+<!-- $Revision: 1.2 $ -->
+<!-- $Author: lm92 $ -->
+<!-- EN-Revision: 1.7 Maintainer: dallas Status: ready -->
<refentry id="function.pow">
<refnamediv>
<refname>pow</refname>
@@ -20,16 +20,22 @@
<type>integer</type>¡£
</para>
<para>
-
Èç¹û²»ÄܼÆËãÃÝ£¬½«·¢³öÒ»Ìõ¾¯¸æ£¬<function>pow</function>
½«·µ»Ø &false;¡£
+
Èç¹û²»ÄܼÆËãÃÝ£¬½«·¢³öÒ»Ìõ¾¯¸æ£¬<function>pow</function>
½«·µ»Ø &false;¡£PHP 4.2.0
+ °æ¿ªÊ¼ <function>pow</function> ²»Òª²úÉúÈκεľ¯¸æ¡£
</para>
+ <note>
+ <para>
+ PHP ²»ÄÜ´¦Àí¸ºÊýµÄ <parameter>base</parameter>¡£
+ </para>
+ </note>
<example>
<title><function>pow</function> Àý×Ó</title>
<programlisting role="php">
<![CDATA[
<?php
-var_dump( pow(2,8) ); // int(256)
-echo pow(-1,20); // 1
+var_dump(pow(2, 8)); // int(256)
+echo pow(-1, 20); // 1
echo pow(0, 0); // 1
echo pow(-1, 5.5); // error
@@ -45,7 +51,8 @@
</para>
</warning>
<para>
- ²Î¼û <function>exp</function> ºÍ <function>sqrt</function>¡£
+ ²Î¼û
<function>exp</function>£¬<function>sqrt</function>£¬<function>bcpow</function>
+ <function>gmp_pow</function> ºÍ¡£
</para>
</refsect1>
</refentry>