cvs: phpdoc-zh /reference/math/functions is-finite.xml is-infinite.xml is-nan.xml lcg-value.xml log1p.xml max.xml min.xml

From: Date: Tue, 11 Mar 2003 10:42:12 +0000
Subject: cvs: phpdoc-zh /reference/math/functions is-finite.xml is-infinite.xml is-nan.xml lcg-value.xml log1p.xml max.xml min.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-1223@lists.php.net to get a copy of this message
dallas Tue Mar 11 05:42:12 2003 EDT Added files: /phpdoc-zh/reference/math/functions is-finite.xml is-infinite.xml is-nan.xml lcg-value.xml log1p.xml max.xml min.xml Log: Completed.

Index: phpdoc-zh/reference/math/functions/is-finite.xml +++ phpdoc-zh/reference/math/functions/is-finite.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.2 Maintainer: dallas Status: ready --> <refentry id='function.is-finite'> <refnamediv> <refname>is_finite</refname> <refpurpose>ÅжÏÊÇ·ñΪÓÐÏÞÖµ</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>bool</type><methodname>is_finite</methodname> <methodparam><type>float</type><parameter>val</parameter></methodparam> </methodsynopsis> <para> Èç¹û <parameter>val</parameter> ÊDZ¾»úƽ̨ÉÏ PHP ¸¡µãÊýËùÔÊÐí·¶Î§ÖеÄÒ»¸öºÏ·¨µÄÓÐÏÞÖµ£¬Ôò·µ»Ø &true;¡£ </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> Index: phpdoc-zh/reference/math/functions/is-infinite.xml +++ phpdoc-zh/reference/math/functions/is-infinite.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.2 Maintainer: dallas Status: ready --> <refentry id='function.is-infinite'> <refnamediv> <refname>is_infinite</refname> <refpurpose>ÅжÏÊÇ·ñΪÎÞÏÞÖµ</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>bool</type><methodname>is_infinite</methodname> <methodparam><type>float</type><parameter>val</parameter></methodparam> </methodsynopsis> <para> Èç¹û <parameter>val</parameter> ΪÎÞÇî´ó£¨ÕýµÄ»ò¸ºµÄ£©£¬ÀýÈç <literal>log(0)</literal> µÄ½á¹û»òÕßÈκ㬳ö±¾Æ½Ì¨µÄ¸¡µãÊý·¶Î§µÄÖµ£¬Ôò·µ»Ø &true;¡£ </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> Index: phpdoc-zh/reference/math/functions/is-nan.xml +++ phpdoc-zh/reference/math/functions/is-nan.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.2 Maintainer: dallas Status: ready --> <refentry id='function.is-nan'> <refnamediv> <refname>is_nan</refname> <refpurpose>ÅжÏÊÇ·ñΪºÏ·¨ÊýÖµ</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>bool</type><methodname>is_nan</methodname> <methodparam><type>float</type><parameter>val</parameter></methodparam> </methodsynopsis> <para> Èç¹û <parameter>val</parameter> Ϊ¡°·ÇÊýÖµ¡±£¬ÀýÈç <literal>acos(1.01)</literal> µÄ½á¹û£¬Ôò·µ»Ø &true;¡£ </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> Index: phpdoc-zh/reference/math/functions/lcg-value.xml +++ phpdoc-zh/reference/math/functions/lcg-value.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.2 Maintainer: dallas Status: ready --> <refentry id="function.lcg-value"> <refnamediv> <refname>lcg_value</refname> <refpurpose>×éºÏÏßÐÔͬÓà·¢ÉúÆ÷</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>float</type><methodname>lcg_value</methodname> <void/> </methodsynopsis> <para> <function>lcg_value</function> ·µ»Ø·¶Î§Îª (0, 1) µÄÒ»¸öÎ±Ëæ»úÊý¡£±¾º¯Êý×éºÏÁËÖÜÆÚΪ 2^31 - 85 ºÍ 2^31 - 249 µÄÁ½¸öͬÓà·¢ÉúÆ÷¡£±¾º¯ÊýµÄÖÜÆÚµÈÓÚÕâÁ½¸öËØÊýµÄ³Ë»ý¡£ </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> Index: phpdoc-zh/reference/math/functions/log1p.xml +++ phpdoc-zh/reference/math/functions/log1p.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.2 Maintainer: dallas Status: ready --> <refentry id='function.log1p'> <refnamediv> <refname>log1p</refname> <refpurpose> ·µ»Ø log(1 + number)£¬ÉõÖÁµ± number µÄÖµ½Ó½üÁãÒ²ÄܼÆËã³ö׼ȷ½á¹û </refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>float</type><methodname>log1p</methodname> <methodparam><type>float</type><parameter>number</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> &warn.undocumented.func; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> Index: phpdoc-zh/reference/math/functions/max.xml +++ phpdoc-zh/reference/math/functions/max.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.4 Maintainer: dallas Status: ready --> <refentry id="function.max"> <refnamediv> <refname>max</refname> <refpurpose>ÕÒ³ö×î´óÖµ</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>number</type><methodname>max</methodname> <methodparam><type>mixed</type><parameter>arg1</parameter></methodparam> <methodparam><type>mixed</type><parameter>arg2</parameter></methodparam> <methodparam><type>mixed</type><parameter>argn</parameter></methodparam> </methodsynopsis> <para> <function>max</function> ·µ»Ø²ÎÊýÖÐÊýÖµ×î´óµÄ¡£ </para> <para> Èç¹ûµÚÒ»¸ö²ÎÊýΪÊý×飬<function>max</function> ·µ»Ø¸ÃÊý×éÖÐ×î´óµÄÖµ¡£Èç¹ûµÚÒ»¸ö²ÎÊýÊÇÕûÊý¡¢×Ö·û´®»ò¸¡µãÊý£¬ÔòÖÁÉÙ»¹ÐèÒªÁ½¸ö²ÎÊý¶ø <function>max</function> »á·µ»ØÕâЩֵÖÐ×î´óµÄÒ»¸ö¡£¿ÉÒԱȽÏÎÞÏÞ¶à¸öÖµ¡£ </para> <para> Èç¹ûÒ»¸ö»ò¶à¸öÖµÊǸ¡µãÊý£¬ËùÓеÄÖµ¶¼»á±»µ±³É¸¡µãÊý²¢·µ»ØÒ»¸ö¸¡µãÊý¡£Èç¹û²ÎÊýÖÐûÓи¡µãÊý£¬ËùÓеÄÖµ¶¼»á±»µ±³ÉÕûÊý²¢·µ»ØÒ»¸öÕûÊý¡£ </para> <para> ²Î¼û <function>min</function>¡£ </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> Index: phpdoc-zh/reference/math/functions/min.xml +++ phpdoc-zh/reference/math/functions/min.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/math.xml, last change in rev 1.2 --> <refentry id="function.min"> <refnamediv> <refname>min</refname> <refpurpose>ÕÒ³ö×îСֵ</refpurpose> </refnamediv> <refsect1> <title>˵Ã÷</title> <methodsynopsis> <type>number</type><methodname>min</methodname> <methodparam><type>number</type><parameter>arg1</parameter></methodparam> <methodparam><type>number</type><parameter>arg2</parameter></methodparam> <methodparam choice="opt"><parameter>...</parameter></methodparam> </methodsynopsis> <methodsynopsis> <type>number</type><methodname>min</methodname> <methodparam><type>array</type><parameter>numbers</parameter></methodparam> </methodsynopsis> <para> <function>min</function> ·µ»Ø²ÎÊýÖÐÊýÖµ×îСµÄ¡£ </para> <para> ÔÚµÚÒ»ÖÖ¸ñʽÖУ¬ÖÁÉÙ»¹ÐèÒªÁ½¸ö²ÎÊý¶ø <function>min</function> »á·µ»ØÕâЩֵÖÐ×îСµÄÒ»¸ö¡£¿ÉÒԱȽÏÎÞÏÞ¶à¸öÖµ¡£Èç¹ûÆäÖÐÒ»¸ö±äÁ¿Ã»Óж¨Ò壬<function>min</function> »áʧ°Ü¡£ </para> <para> In the second variant, <function>min</function> returns the lowest value in <parameter>numbers</parameter>. </para> <para> Èç¹ûÒ»¸ö»ò¶à¸öÖµÊǸ¡µãÊý£¬ËùÓеÄÖµ¶¼»á±»µ±³É¸¡µãÊý²¢·µ»ØÒ»¸ö¸¡µãÊý¡£Èç¹û²ÎÊýÖÐûÓи¡µãÊý£¬ËùÓеÄÖµ¶¼»á±»µ±³ÉÕûÊý²¢·µ»ØÒ»¸öÕûÊý¡£Èç¹ûʧ°Ü£¬<function>min</function> ·µ»Ø <type>NULL</type> ²¢²úÉúÒ»Ìõ <constant>E_WARNING</constant> ¼¶±ðµÄ´íÎó¡£ </para> <para> <informalexample> <programlisting> <![CDATA[ <?php $a = 4; $b = 9; $c = 3; $arr = array(99, 34, 11); // You may want to implement your own error checking in // case of failure (a variable may not be set) if (!$min_value = @min($a, $b, $c)) { echo "Could not get min value, please try again."; } else { echo "min value is $min_value"; } print min($arr); // 11 ?> ]]> </programlisting> </informalexample> </para> <para> ²Î¼û <function>max</function>¡£ </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
« previous php.doc.zh (#1223) next »