cvs: phpdoc-fr /reference/math/functions decbin.xml dechex.xml decoct.xml deg2rad.xml exp.xml expm1.xml floor.xml fmod.xml getrandmax.xml hexdec.xml
hypot.xml is-finite.xml is-infinite.xml is-nan.xml

From: Date: Tue, 15 May 2007 20:52:15 +0000
Subject: cvs: phpdoc-fr /reference/math/functions decbin.xml dechex.xml decoct.xml deg2rad.xml exp.xml expm1.xml floor.xml fmod.xml getrandmax.xml hexdec.xml
hypot.xml is-finite.xml is-infinite.xml is-nan.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-5321@lists.php.net to get a copy of this message
yannick Tue May 15 20:52:15 2007 UTC Modified files: /phpdoc-fr/reference/math/functions decbin.xml dechex.xml decoct.xml deg2rad.xml expm1.xml exp.xml floor.xml fmod.xml getrandmax.xml hexdec.xml hypot.xml is-finite.xml is-infinite.xml is-nan.xml Log: sync with EN

http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/math/functions/decbin.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/math/functions/decbin.xml diff -u phpdoc-fr/reference/math/functions/decbin.xml:1.11 phpdoc-fr/reference/math/functions/decbin.xml:1.12 --- phpdoc-fr/reference/math/functions/decbin.xml:1.11 Mon Aug 28 12:53:39 2006 +++ phpdoc-fr/reference/math/functions/decbin.xml Tue May 15 20:52:15 2007 @@ -1,53 +1,81 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.decbin"> - <refnamediv> - <refname>decbin</refname> - <refpurpose>Convertit de décimal en binaire</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>decbin</methodname> - <methodparam><type>int</type><parameter>number</parameter></methodparam> - </methodsynopsis> - <para> - <function>decbin</function> retourne une chaîne contenant - la représentation binaire de l'entier donné en argument. - Le plus grand nombre pouvant être converti est 2147483647 - en décimal, ce qui donne une série de 31 uns (1). - </para> - <para> - <example> - <title>Exemple avec <function>decbin</function></title> - <programlisting role="php"> + +<refentry id="function.decbin"> + <refnamediv> + <refname>decbin</refname> + <refpurpose>Convertit de décimal en binaire</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>decbin</methodname> + <methodparam><type>int</type><parameter>number</parameter></methodparam> + </methodsynopsis> + <para> + Retourne une chaîne contenant la représentation binaire de + l'entier donné en argument. Le plus grand nombre pouvant être + converti est 2147483647 en décimal, ce qui donne une série de 31 uns (1). + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>number</parameter></term> + <listitem> + <para> + Valeur décimale à convertir + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Une représentation binaire de <parameter>number</parameter>. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>decbin</function></title> + <programlisting role="php"> <![CDATA[ <?php echo decbin(12) . "\n"; echo decbin(26); ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ 1100 11010 ]]> - </screen> - </example> - </para> - <para> - Voir aussi - <function>bindec</function>, - <function>decoct</function>, - <function>dechex</function> et - <function>base_convert</function>. - </para> - </refsect1> - </refentry> + </screen> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>bindec</function></member> + <member><function>decoct</function></member> + <member><function>dechex</function></member> + <member><function>base_convert</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/math/functions/dechex.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-fr/reference/math/functions/dechex.xml diff -u phpdoc-fr/reference/math/functions/dechex.xml:1.13 phpdoc-fr/reference/math/functions/dechex.xml:1.14 --- phpdoc-fr/reference/math/functions/dechex.xml:1.13 Mon Aug 28 12:53:39 2006 +++ phpdoc-fr/reference/math/functions/dechex.xml Tue May 15 20:52:15 2007 @@ -1,53 +1,81 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.dechex"> - <refnamediv> - <refname>dechex</refname> - <refpurpose>Convertit de décimal en hexadécimal </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; + +<refentry id="function.dechex"> + <refnamediv> + <refname>dechex</refname> + <refpurpose>Convertit de décimal en hexadécimal</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>dechex</methodname> <methodparam><type>int</type><parameter>number</parameter></methodparam> </methodsynopsis> - <para> - <function>dechex</function> retourne une chaîne contenant - la représentation hexadécimale du nombre - <parameter>number</parameter>. Le nombre le plus grand qui puisse être - converti est 4294967295 en décimal, ce qui donnera "ffffffff". - </para> - <para> - <example> - <title>Exemple avec <function>dechex</function></title> - <programlisting role="php"> + <para> + Retourne une chaîne contenant la représentation hexadécimale du nombre + <parameter>number</parameter>. Le nombre le plus grand qui puisse être + converti est 4294967295 en décimal, ce qui donnera "ffffffff". + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>number</parameter></term> + <listitem> + <para> + Valeur décimale à convertir + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Une représentation hexédécimale de <parameter>number</parameter>. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>dechex</function></title> + <programlisting role="php"> <![CDATA[ <?php echo dechex(10) . "\n"; echo dechex(47); ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ a 2f ]]> - </screen> - </example> - </para> - <para> - Voir aussi - <function>hexdec</function>, - <function>decbin</function>, - <function>decoct</function> et - <function>base_convert</function>. - </para> - </refsect1> - </refentry> + </screen> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>hexdec</function></member> + <member><function>decbin</function></member> + <member><function>decoct</function></member> + <member><function>base_convert</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/math/functions/decoct.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/math/functions/decoct.xml diff -u phpdoc-fr/reference/math/functions/decoct.xml:1.12 phpdoc-fr/reference/math/functions/decoct.xml:1.13 --- phpdoc-fr/reference/math/functions/decoct.xml:1.12 Mon Aug 28 12:53:39 2006 +++ phpdoc-fr/reference/math/functions/decoct.xml Tue May 15 20:52:15 2007 @@ -1,54 +1,81 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.decoct"> - <refnamediv> - <refname>decoct</refname> - <refpurpose>Convertit de décimal en octal </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>decoct</methodname> - <methodparam><type>int</type><parameter>number</parameter></methodparam> - </methodsynopsis> - <para> - <function>decoct</function> retourne une chaîne contenant - la représentation octale du nombre donné - <parameter>number</parameter>. Le nombre le plus grand qui puisse - être converti est 4294967295 en décimal, ce qui - donnera "37777777777". - </para> - <para> - <example> - <title>Exemple avec <function>decoct</function></title> - <programlisting role="php"> + +<refentry id="function.decoct"> + <refnamediv> + <refname>decoct</refname> + <refpurpose>Convertit de décimal en octal</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>decoct</methodname> + <methodparam><type>int</type><parameter>number</parameter></methodparam> + </methodsynopsis> + <para> + Retourne une chaîne contenant la représentation octale du nombre donné + <parameter>number</parameter>. Le nombre le plus grand qui puisse + être converti est 4294967295 en décimal, ce qui donnera "37777777777". + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>number</parameter></term> + <listitem> + <para> + Valeur décimale à convertir + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Une représentation octale de <parameter>number</parameter>. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>decoct</function></title> + <programlisting role="php"> <![CDATA[ <?php echo decoct(15) . "\n"; echo decoct(264); ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ 17 410 ]]> - </screen> - </example> - </para> - <para> - Voir aussi - <function>octdec</function>, - <function>decbin</function>, - <function>dechex</function> et - <function>base_convert</function>. - </para> - </refsect1> - </refentry> + </screen> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>octdec</function></member> + <member><function>decbin</function></member> + <member><function>dechex</function></member> + <member><function>base_convert</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/math/functions/deg2rad.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-fr/reference/math/functions/deg2rad.xml diff -u phpdoc-fr/reference/math/functions/deg2rad.xml:1.7 phpdoc-fr/reference/math/functions/deg2rad.xml:1.8 --- phpdoc-fr/reference/math/functions/deg2rad.xml:1.7 Mon Aug 28 12:53:39 2006 +++ phpdoc-fr/reference/math/functions/deg2rad.xml Tue May 15 20:52:15 2007 @@ -1,28 +1,51 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.deg2rad"> - <refnamediv> - <refname>deg2rad</refname> - <refpurpose> - Convertit un nombre de degrés en radians - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>float</type><methodname>deg2rad</methodname> - <methodparam><type>float</type><parameter>number</parameter></methodparam> - </methodsynopsis> - <para> - <function>deg2rad</function> convertit <parameter>number</parameter> de - degrés en radians. - </para> - <para> - <example> - <title>Exemple avec <function>deg2rad</function></title> - <programlisting role="php"> + +<refentry id="function.deg2rad"> + <refnamediv> + <refname>deg2rad</refname> + <refpurpose>Convertit un nombre de degrés en radians</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>float</type><methodname>deg2rad</methodname> + <methodparam><type>float</type><parameter>number</parameter></methodparam> + </methodsynopsis> + <para> + <function>deg2rad</function> convertit <parameter>number</parameter> de + degrés en radians. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>number</parameter></term> + <listitem> + <para> + L'angle, en degrés + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + L'équivalent, en radian, de <parameter>number</parameter>. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>deg2rad</function></title> + <programlisting role="php"> <![CDATA[ <?php @@ -31,15 +54,19 @@ ?> ]]> - </programlisting> - </example> - </para> - <para> - Voir aussi - <function>rad2deg</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>rad2deg</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -60,4 +87,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/math/functions/expm1.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-fr/reference/math/functions/expm1.xml diff -u phpdoc-fr/reference/math/functions/expm1.xml:1.7 phpdoc-fr/reference/math/functions/expm1.xml:1.8 --- phpdoc-fr/reference/math/functions/expm1.xml:1.7 Mon Aug 28 12:53:39 2006 +++ phpdoc-fr/reference/math/functions/expm1.xml Tue May 15 20:52:15 2007 @@ -1,37 +1,63 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.expm1"> - <refnamediv> - <refname>expm1</refname> - <refpurpose> - Retourne le résultat de exp(number) - 1, calculé de manière précise, même - si val est proche de 0 - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>float</type><methodname>expm1</methodname> - <methodparam><type>float</type><parameter>number</parameter></methodparam> - </methodsynopsis> - &warn.experimental.func; - <para> - <function>expm1</function> retourne l'équivalent de - 'exp(<parameter>number</parameter>) - 1' calculé de tel sorte qu'il - sera précis, même si la valeur de l'argument <parameter>number</parameter> - est proche de &zero;, un cas où l'expression 'exp (<parameter>number</parameter>) - 1' - n'est pas précis, du fait de la soustraction de deux nombres quasi-égaux. - </para> - &note.no-windows; - <para> - Voir aussi - <function>log1p</function> et - <function>exp</function>. - </para> - </refsect1> - </refentry> + +<refentry id='function.expm1'> + <refnamediv> + <refname>expm1</refname> + <refpurpose> + Retourne le résultat de exp(number) - 1, calculé de manière précise, même + si la valeur est proche de 0 + </refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>float</type><methodname>expm1</methodname> + <methodparam><type>float</type><parameter>arg</parameter></methodparam> + </methodsynopsis> + &warn.experimental.func; + <para> + <function>expm1</function> retourne l'équivalent de + 'exp(<parameter>number</parameter>) - 1' calculé de tel sorte qu'il + sera précis, même si la valeur de l'argument <parameter>number</parameter> + est proche de &zero;, un cas où l'expression 'exp (<parameter>number</parameter>) - 1' + n'est pas précis, du fait de la soustraction de deux nombres quasi-égaux. + </para> + &note.no-windows; + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>arg</parameter></term> + <listitem> + <para> + L'argument à traiter + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + 'e' à la puissance <parameter>arg</parameter>, moins un. + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>log1p</function></member> + <member><function>exp</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -52,4 +78,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/math/functions/exp.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/math/functions/exp.xml diff -u phpdoc-fr/reference/math/functions/exp.xml:1.9 phpdoc-fr/reference/math/functions/exp.xml:1.10 --- phpdoc-fr/reference/math/functions/exp.xml:1.9 Wed Apr 19 20:40:03 2006 +++ phpdoc-fr/reference/math/functions/exp.xml Tue May 15 20:52:15 2007 @@ -1,57 +1,82 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.exp"> - <refnamediv> - <refname>exp</refname> - <refpurpose>Calcul l'exponentielle</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>float</type><methodname>exp</methodname> - <methodparam><type>float</type><parameter>arg</parameter></methodparam> - </methodsynopsis> +<refentry id="function.exp"> + <refnamediv> + <refname>exp</refname> + <refpurpose>Calcul l'exponentielle</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>float</type><methodname>exp</methodname> + <methodparam><type>float</type><parameter>arg</parameter></methodparam> + </methodsynopsis> + <para> + Retourne <constant>e</constant>, à la puissance <parameter>arg</parameter>. + </para> + <note> <para> - <function>exp</function> retourne l'exponentielle de - <parameter>arg</parameter>, c'est-à-dire - e élevé à la puissance - <parameter>arg</parameter>. + 'e' est le logarithme naturel, ou approximativement 2.718282. </para> - <note> - <para> - 'e' est le logarithme naturel, ou approximativement 2.718282. - </para> - </note> - <para> - <example> - <title>Exemple avec <function>exp</function></title> - <programlisting role="php"> + </note> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>arg</parameter></term> + <listitem> + <para> + L'argument à traiter + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + 'e', à la puissance <parameter>arg</parameter>. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>exp</function></title> + <programlisting role="php"> <![CDATA[ <?php echo exp(12) . "\n"; echo exp(5.7); ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ 1.6275E+005 298.87 ]]> - </screen> - </example> - </para> - <para> - Voir aussi - <function>pow</function> et - <function>log</function>. - </para> - </refsect1> - </refentry> + </screen> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>log</function></member> + <member><function>pow</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/math/functions/floor.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-fr/reference/math/functions/floor.xml diff -u phpdoc-fr/reference/math/functions/floor.xml:1.10 phpdoc-fr/reference/math/functions/floor.xml:1.11 --- phpdoc-fr/reference/math/functions/floor.xml:1.10 Sat Oct 21 17:40:12 2006 +++ phpdoc-fr/reference/math/functions/floor.xml Tue May 15 20:52:15 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.floor"> @@ -8,18 +8,42 @@ <refname>floor</refname> <refpurpose>Arrondit à l'entier inférieur</refpurpose> </refnamediv> - <refsect1> + <refsect1 role="description"> &reftitle.description; - <methodsynopsis> - <type>float</type><methodname>floor</methodname> - <methodparam><type>float</type><parameter>value</parameter></methodparam> - </methodsynopsis> + <methodsynopsis> + <type>float</type><methodname>floor</methodname> + <methodparam><type>float</type><parameter>value</parameter></methodparam> + </methodsynopsis> <simpara> + Retourne l'entier inférieur du nombre <parameter>value</parameter>. + </simpara> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>number</parameter></term> + <listitem> + <para> + La valeur numérique à arrondir + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> <function>floor</function> retourne l'entier inférieur du nombre <parameter>value</parameter>. La valeur retournée est un nombre à virgule flottante, (<type>float</type>) car ces nombres peuvent être plus grands que les entiers. - </simpara> + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Exemple avec <function>floor</function></title> @@ -34,11 +58,15 @@ </programlisting> </example> </para> - <simpara> - Voir aussi - <function>ceil</function> et - <function>round</function>. - </simpara> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>ceil</function></member> + <member><function>round</function></member> + </simplelist> + </para> </refsect1> </refentry> @@ -61,4 +89,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/math/functions/fmod.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-fr/reference/math/functions/fmod.xml diff -u phpdoc-fr/reference/math/functions/fmod.xml:1.6 phpdoc-fr/reference/math/functions/fmod.xml:1.7 --- phpdoc-fr/reference/math/functions/fmod.xml:1.6 Mon Aug 28 12:53:39 2006 +++ phpdoc-fr/reference/math/functions/fmod.xml Tue May 15 20:52:15 2007 @@ -1,46 +1,78 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fmod"> - <refnamediv> - <refname>fmod</refname> - <refpurpose> - Retourne le reste de la division </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>float</type><methodname>fmod</methodname> - <methodparam><type>float</type><parameter>x</parameter></methodparam> - <methodparam><type>float</type><parameter>y</parameter></methodparam> - </methodsynopsis> - <para> - <methodname>fmod</methodname> retourne le reste de la division de - (<parameter>x</parameter>) par (<parameter>y</parameter>). Ce reste - est un nombre à virgule flottante. Le reste est défini par : - x = i * y + r, pour un entier <varname>i</varname>. Si <parameter>y</parameter> - n'est pas nul, <varname>r</varname> a le même signe que - <parameter>x</parameter> est une taille inférieure à - <parameter>y</parameter>. - </para> - <para> - <example> - <title>Exemple avec <function>fmod</function></title> - <programlisting role="php"> + +<refentry id="function.fmod"> + <refnamediv> + <refname>fmod</refname> + <refpurpose>Retourne le reste de la division</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>float</type><methodname>fmod</methodname> + <methodparam><type>float</type><parameter>x</parameter></methodparam> + <methodparam><type>float</type><parameter>y</parameter></methodparam> + </methodsynopsis> + <para> + Retourne le reste de la division de <parameter>x</parameter> + par <parameter>y</parameter>. Ce reste est un nombre à virgule + flottante. Le reste est défini par : x = i * y + r, pour un entier + <varname>i</varname>. Si <parameter>y</parameter> n'est pas nul, + <varname>r</varname> a le même signe que <parameter>x</parameter> + est une taille inférieure à <parameter>y</parameter>. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>x</parameter></term> + <listitem> + <para> + Le dividende + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>y</parameter></term> + <listitem> + <para> + Le diviseur + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Le reste de la division de <parameter>x</parameter> + par <parameter>y</parameter>. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>fmod</function></title> + <programlisting role="php"> <![CDATA[ <?php $x = 5.7; $y = 1.3; $r = fmod($x, $y); -// $r égale 0.5, car 4 * 1.3 + 0.5 = 5.7 +// $r equals 0.5, because 4 * 1.3 + 0.5 = 5.7 ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -61,4 +93,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/math/functions/getrandmax.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/math/functions/getrandmax.xml diff -u phpdoc-fr/reference/math/functions/getrandmax.xml:1.8 phpdoc-fr/reference/math/functions/getrandmax.xml:1.9 --- phpdoc-fr/reference/math/functions/getrandmax.xml:1.8 Mon Aug 28 12:53:39 2006 +++ phpdoc-fr/reference/math/functions/getrandmax.xml Tue May 15 20:52:15 2007 @@ -1,30 +1,41 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.getrandmax"> - <refnamediv> - <refname>getrandmax</refname> - <refpurpose>Plus grande valeur aléatoire possible</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>int</type><methodname>getrandmax</methodname> - <void/> - </methodsynopsis> - <simpara> - <function>getrandmax</function> retourne la plus grande valeur - aléatoire possible retournée par <function>rand</function>. - </simpara> - <simpara> - Voir aussi - <function>rand</function>, - <function>srand</function> et - <function>mt_getrandmax</function>. - </simpara> - </refsect1> - </refentry> + +<refentry id="function.getrandmax"> + <refnamediv> + <refname>getrandmax</refname> + <refpurpose>Plus grande valeur aléatoire possible</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>getrandmax</methodname> + <void/> + </methodsynopsis> + <simpara> + Retourne la plus grande valeur aléatoire possible + retournée par <function>rand</function>. + </simpara> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + La plus grande valeur aléatoire possible retournée par <function>rand</function>. + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>rand</function></member> + <member><function>srand</function></member> + <member><function>mt_getrandmax</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -45,4 +56,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/math/functions/hexdec.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-fr/reference/math/functions/hexdec.xml diff -u phpdoc-fr/reference/math/functions/hexdec.xml:1.13 phpdoc-fr/reference/math/functions/hexdec.xml:1.14 --- phpdoc-fr/reference/math/functions/hexdec.xml:1.13 Mon Aug 28 12:53:39 2006 +++ phpdoc-fr/reference/math/functions/hexdec.xml Tue May 15 20:52:15 2007 @@ -1,59 +1,105 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.hexdec"> - <refnamediv> - <refname>hexdec</refname> - <refpurpose>Convertit de hexadécimal en décimal</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>number</type><methodname>hexdec</methodname> - <methodparam><type>string</type><parameter>hex_string</parameter></methodparam> - </methodsynopsis> - <para> - <function>hexdec</function> retourne une chaîne contenant la - représentation décimale du nombre - <parameter>hex_string</parameter>. Le nombre le plus grand - qui puisse être converti est 7fffffff en décimal, - ce qui donne "2147483647". - Depuis &php; 4.1.0, cette fonction peut également convertir de très grands nombres. - Elle retourne un nombre de type <type>float</type> dans ce cas. - </para> - <para> - <function>hexdec</function> remplace tous les caractères - non-hexadécimaux par des &zero;. Et si les - zéros de gauche sont ignorés, ceux de droite prennent - le propre valeur. - <example> - <title>Exemple avec <function>hexdec</function></title> - <programlisting role="php"> + +<refentry id="function.hexdec"> + <refnamediv> + <refname>hexdec</refname> + <refpurpose>Convertit de hexadécimal en décimal</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>number</type><methodname>hexdec</methodname> + <methodparam><type>string</type><parameter>hex_string</parameter></methodparam> + </methodsynopsis> + <para> + Retourne une chaîne contenant la représentation décimale du nombre + <parameter>hex_string</parameter>. + </para> + <para> + <function>hexdec</function> ignorera tout caractère non-hexadécimal + qu'elle rencontrera. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>hex_string</parameter></term> + <listitem> + <para> + La chaîne hexadécimale à convertir + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + La représentation décimale de <parameter>hex_string</parameter> + </para> + </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>Depuis la version 4.1.0</entry> + <entry> + Cette fonction peut également convertir de très grands nombres. + Elle retourne un nombre de type <type>float</type> dans ce cas. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>hexdec</function></title> + <programlisting role="php"> <![CDATA[ <?php -var_dump(hexdec("Hop comme ceci")); -var_dump(hexdec("0000c000e0cec0")); -var_dump(hexdec("c000e0cec0")); -// les deux affichent "int(14732992)" +var_dump(hexdec("See")); +var_dump(hexdec("ee")); +// both print "int(238)" -var_dump(hexdec("aussi")); -var_dump(hexdec("a0000")); -// les deux affichent "int(655360)" +var_dump(hexdec("that")); // affiche "int(10)" +var_dump(hexdec("a0")); // affiche "int(160)" ?> ]]> - </programlisting> - </example> - </para> - <para> - Voir aussi - <function>dechex</function>, - <function>bindec</function>, - <function>octdec</function> et - <function>base_convert</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>dechex</function></member> + <member><function>bindec</function></member> + <member><function>octdec</function></member> + <member><function>base_convert</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -74,4 +120,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/math/functions/hypot.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/math/functions/hypot.xml diff -u phpdoc-fr/reference/math/functions/hypot.xml:1.8 phpdoc-fr/reference/math/functions/hypot.xml:1.9 --- phpdoc-fr/reference/math/functions/hypot.xml:1.8 Mon Aug 28 12:53:39 2006 +++ phpdoc-fr/reference/math/functions/hypot.xml Tue May 15 20:52:15 2007 @@ -1,30 +1,58 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.hypot"> - <refnamediv> - <refname>hypot</refname> - <refpurpose> - Calcul la longueur de l'hypoténuse d'un triangle à angle droit - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>float</type><methodname>hypot</methodname> - <methodparam><type>float</type><parameter>x</parameter></methodparam> - <methodparam><type>float</type><parameter>y</parameter></methodparam> - </methodsynopsis> - <para> - <function>hypot</function> retourne la longueur de l'hypoténuse - d'un triangle à angle droit qui a des cotés d'une longueur <parameter>x</parameter> et - <parameter>y</parameter> ou bien la distance du point - (<parameter>x</parameter>, <parameter>y</parameter>) - depuis l'origine. Ceci est l'équivalent de <literal>sqrt(x*x + y*y)</literal>. - </para> - </refsect1> - </refentry> + +<refentry id='function.hypot'> + <refnamediv> + <refname>hypot</refname> + <refpurpose>Calcul la longueur de l'hypoténuse d'un triangle à angle droit</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>float</type><methodname>hypot</methodname> + <methodparam><type>float</type><parameter>x</parameter></methodparam> + <methodparam><type>float</type><parameter>y</parameter></methodparam> + </methodsynopsis> + <para> + <function>hypot</function> retourne la longueur de l'hypoténuse + d'un triangle à angle droit qui a des cotés d'une longueur <parameter>x</parameter> et + <parameter>y</parameter> ou bien la distance du point + (<parameter>x</parameter>, <parameter>y</parameter>) + depuis l'origine. Ceci est l'équivalent de <literal>sqrt(x*x + y*y)</literal>. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>x</parameter></term> + <listitem> + <para> + Longueur du premier côté + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>y</parameter></term> + <listitem> + <para> + Longueur du second côté + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + La longueur calculée de l'hypoténuse + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -45,4 +73,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/math/functions/is-finite.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-fr/reference/math/functions/is-finite.xml diff -u phpdoc-fr/reference/math/functions/is-finite.xml:1.6 phpdoc-fr/reference/math/functions/is-finite.xml:1.7 --- phpdoc-fr/reference/math/functions/is-finite.xml:1.6 Mon Aug 28 12:53:39 2006 +++ phpdoc-fr/reference/math/functions/is-finite.xml Tue May 15 20:52:15 2007 @@ -1,31 +1,57 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.is-finite"> - <refnamediv> - <refname>is_finite</refname> - <refpurpose>Indique si un nombre est fini</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>is_finite</methodname> - <methodparam><type>float</type><parameter>val</parameter></methodparam> - </methodsynopsis> - <para> - <function>is_finite</function> retourne &true; si <parameter>val</parameter> - est une valeur finie, c'est à dire une valeur qui peut être - représentée par un nombre à virgule flottante - sur cette plate-forme. - </para> - <para> - Voir aussi - <function>is_infinite</function> et - <function>is_nan</function>. - </para> - </refsect1> - </refentry> + +<refentry id='function.is-finite'> + <refnamediv> + <refname>is_finite</refname> + <refpurpose>Indique si un nombre est fini</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>is_finite</methodname> + <methodparam><type>float</type><parameter>val</parameter></methodparam> + </methodsynopsis> + <para> + Vérifie si <parameter>val</parameter> est une valeur légale finie sur + la plateforme. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>val</parameter></term> + <listitem> + <para> + La valeur à vérifier + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &true; si <parameter>val</parameter> est une valeur finie, c'est + à dire une valeur qui peut être représentée par un nombre à virgule + flottante &php; sur cette plate-forme, sinon, &false;. + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>is_infinite</function></member> + <member><function>is_nan</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -46,4 +72,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/math/functions/is-infinite.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-fr/reference/math/functions/is-infinite.xml diff -u phpdoc-fr/reference/math/functions/is-infinite.xml:1.7 phpdoc-fr/reference/math/functions/is-infinite.xml:1.8 --- phpdoc-fr/reference/math/functions/is-infinite.xml:1.7 Mon Aug 28 12:53:39 2006 +++ phpdoc-fr/reference/math/functions/is-infinite.xml Tue May 15 20:52:15 2007 @@ -1,33 +1,57 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.is-infinite"> - <refnamediv> - <refname>is_infinite</refname> - <refpurpose> - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>is_infinite</methodname> - <methodparam><type>float</type><parameter>val</parameter></methodparam> - </methodsynopsis> - <para> - <methodname>is_infinite</methodname> retourne &true; - si <parameter>val</parameter> est - infini (positif ou négatif), comme le résultat de - <literal>log(0)</literal> ou une valeur qui est trop grande pour - être représenté par un nombre à virgule flottante sur cette plate-forme. - </para> - <para> - Voir aussi - <function>is_finite</function> et - <function>is_nan</function>. - </para> - </refsect1> - </refentry> + +<refentry id='function.is-infinite'> + <refnamediv> + <refname>is_infinite</refname> + <refpurpose>Indique si un nombre est infini</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>is_infinite</methodname> + <methodparam><type>float</type><parameter>val</parameter></methodparam> + </methodsynopsis> + <para> + Retourne &true; si <parameter>val</parameter> est infini (positif ou + négatif), comme le résultat de <literal>log(0)</literal> ou une valeur + qui est trop grande pour être représenté par un nombre à virgule flottante + sur cette plate-forme. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>val</parameter></term> + <listitem> + <para> + La valeur à vérifier + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &true; si <parameter>val</parameter> est une valeur infinie, sinon, &false;. + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>is_finite</function></member> + <member><function>is_nan</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -48,4 +72,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/math/functions/is-nan.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-fr/reference/math/functions/is-nan.xml diff -u phpdoc-fr/reference/math/functions/is-nan.xml:1.7 phpdoc-fr/reference/math/functions/is-nan.xml:1.8 --- phpdoc-fr/reference/math/functions/is-nan.xml:1.7 Mon Aug 28 12:53:39 2006 +++ phpdoc-fr/reference/math/functions/is-nan.xml Tue May 15 20:52:15 2007 @@ -1,30 +1,56 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.is-nan"> - <refnamediv> - <refname>is_nan</refname> - <refpurpose>Indique si une valeur est un nombre</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>is_nan</methodname> - <methodparam><type>float</type><parameter>val</parameter></methodparam> - </methodsynopsis> - <para> - <function>is_nan</function> retourne &true; si <parameter>val</parameter> - n'est pas un nombre, comme le résultat de - <literal>acos(1.01)</literal>. - </para> - <para> - Voir aussi - <function>is_finite</function> et - <function>is_infinite</function>. - </para> - </refsect1> - </refentry> + +<refentry id='function.is-nan'> + <refnamediv> + <refname>is_nan</refname> + <refpurpose>Indique si une valeur n'est pas un nombre</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>is_nan</methodname> + <methodparam><type>float</type><parameter>val</parameter></methodparam> + </methodsynopsis> + <para> + Vérifie si <parameter>val</parameter> est 'not a number' (pas un nombre), + comme le résultat de <literal>acos(1.01)</literal>. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>val</parameter></term> + <listitem> + <para> + La valeur à vérifier + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne &true; si <parameter>val</parameter> est 'not a number' (pas un nombre), + sinon, &false;. + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>is_finite</function></member> + <member><function>is_infinite</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -45,4 +71,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file
« previous php.doc.fr (#5321) next »