cvs: phpdoc-fr /reference/dom book.xml /reference/gmp/functions gmp-gcd.xml gmp-hamdist.xml gmp-init.xml gmp-intval.xml gmp-invert.xml gmp-jacobi.xml
| From: | Yannick Torres | Date: | Tue, 29 Apr 2008 06:47:00 +0000 |
| Subject: | cvs: phpdoc-fr /reference/dom book.xml /reference/gmp/functions gmp-gcd.xml gmp-hamdist.xml gmp-init.xml gmp-intval.xml gmp-invert.xml gmp-jacobi.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-5818@lists.php.net to get a copy of this message | ||
yannick Tue Apr 29 06:47:00 2008 UTC
Modified files:
/phpdoc-fr/reference/dom book.xml
/phpdoc-fr/reference/gmp/functions gmp-gcd.xml gmp-hamdist.xml
gmp-init.xml gmp-intval.xml
gmp-invert.xml gmp-jacobi.xml
Log:
sync with EN
http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dom/book.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/dom/book.xml diff -u phpdoc-fr/reference/dom/book.xml:1.1 phpdoc-fr/reference/dom/book.xml:1.2 --- phpdoc-fr/reference/dom/book.xml:1.1 Sat Mar 8 09:15:53 2008 +++ phpdoc-fr/reference/dom/book.xml Tue Apr 29 06:46:59 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <!-- Purpose: xml --> <!-- Membership: bundled, external --> @@ -30,13 +30,6 @@ &reference.dom.setup; &reference.dom.constants; - - <!-- - <reference xml:id="functions.dom" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>DOM &Functions;</title> - &reference.dom.entities.functions; - </reference> - --> &reference.dom.domattr; &reference.dom.domcharacterdata; &reference.dom.domcomment; @@ -56,54 +49,13 @@ &reference.dom.domtext; &reference.dom.domxpath; - <!-- FIXME: - <section xml:id='dom.class.domnamelist'> - <title><classname>DOMNameList</classname></title> - <para> - - </para> - <section xml:id='dom.class.domnamelist.methods'> - &reftitle.methods; - <itemizedlist> - <listitem> - <para><xref linkend='function.dom-domnamelist-getname' /> - </para> - </listitem> - <listitem> - <para><xref linkend='function.dom-domnamelist-getnamespaceuri' /> - </para> - </listitem> - </itemizedlist> - </section> - <section xml:id='dom.class.domnamelist.properties'> - &reftitle.properties; - <table> - <title/> - <tgroup cols="4"> - <thead> - <row> - <entry>Name</entry> - <entry>Type</entry> - <entry>Read-only</entry> - <entry>Description</entry> - </row> - </thead> - <tbody> - <row> - <entry>length</entry> - <entry>int</entry> - <entry>yes</entry> - <entry> - The number of pairs (name and namespaceURI) in the list. The range - of valid child node indices is 0 to <literal>length - 1</literal> - inclusive. - </entry> - </row> - </tbody> - </tgroup> - </table> - </section> - </section>--> + <reference xml:id="ref.dom" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>DOM &Functions;</title> + &reference.dom.entities.functions; + </reference> </book> + <!-- Keep this comment at the end of the file Local variables: mode: sgml @@ -123,4 +75,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/gmp/functions/gmp-gcd.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/gmp/functions/gmp-gcd.xml diff -u phpdoc-fr/reference/gmp/functions/gmp-gcd.xml:1.11 phpdoc-fr/reference/gmp/functions/gmp-gcd.xml:1.12 --- phpdoc-fr/reference/gmp/functions/gmp-gcd.xml:1.11 Sun Jul 22 18:10:52 2007 +++ phpdoc-fr/reference/gmp/functions/gmp-gcd.xml Tue Apr 29 06:47:00 2008 @@ -1,26 +1,59 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="function.gmp-gcd" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>gmp_gcd</refname> - <refpurpose>PGCD</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>resource</type><methodname>gmp_gcd</methodname> - <methodparam><type>resource</type><parameter>a</parameter></methodparam> - <methodparam><type>resource</type><parameter>b</parameter></methodparam> - </methodsynopsis> - <para> - <function>gmp_gcd</function> calcule le PGCD (plus grand commun - diviseur) de <parameter>a</parameter> et <parameter>b</parameter>. - Le résultat est toujours positif, même si l'un des deux (ou les deux) - nombres est négatif. - </para> +<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.gmp-gcd"> + <refnamediv> + <refname>gmp_gcd</refname> + <refpurpose>Calcule le GCD</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>resource</type><methodname>gmp_gcd</methodname> + <methodparam><type>resource</type><parameter>a</parameter></methodparam> + <methodparam><type>resource</type><parameter>b</parameter></methodparam> + </methodsynopsis> + <para> + Calcule le PGCD (plus grand commun diviseur) de <parameter>a</parameter> + et <parameter>b</parameter>. Le résultat est toujours positif, même si + l'un des deux (ou les deux) nombres est négatif. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>a</parameter></term> + <listitem> + &gmp.parameter; + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>b</parameter></term> + <listitem> + &gmp.parameter; + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Un nombre positif GMP qui se divise avec + <parameter>a</parameter> et <parameter>b</parameter>. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> <example> <title>Exemple avec <function>gmp_gcd</function></title> <programlisting role="php"> @@ -38,8 +71,10 @@ ]]> </screen> </example> - </refsect1> - </refentry> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/gmp/functions/gmp-hamdist.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-fr/reference/gmp/functions/gmp-hamdist.xml diff -u phpdoc-fr/reference/gmp/functions/gmp-hamdist.xml:1.10 phpdoc-fr/reference/gmp/functions/gmp-hamdist.xml:1.11 --- phpdoc-fr/reference/gmp/functions/gmp-hamdist.xml:1.10 Sun Jul 22 18:10:52 2007 +++ phpdoc-fr/reference/gmp/functions/gmp-hamdist.xml Tue Apr 29 06:47:00 2008 @@ -1,25 +1,64 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="function.gmp-hamdist" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>gmp_hamdist</refname> - <refpurpose>Distance de Hamming</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>int</type><methodname>gmp_hamdist</methodname> - <methodparam><type>resource</type><parameter>a</parameter></methodparam> - <methodparam><type>resource</type><parameter>b</parameter></methodparam> - </methodsynopsis> - <para> - <function>gmp_hamdist</function> retourne la distance de Hamming - entre <parameter>a</parameter> et <parameter>b</parameter>. Les deux - paramètres doivent être strictement positifs. - </para> +<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.gmp-hamdist"> + <refnamediv> + <refname>gmp_hamdist</refname> + <refpurpose>Distance de Hamming</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>gmp_hamdist</methodname> + <methodparam><type>resource</type><parameter>a</parameter></methodparam> + <methodparam><type>resource</type><parameter>b</parameter></methodparam> + </methodsynopsis> + <para> + Retourne la distance de Hamming entre <parameter>a</parameter> + et <parameter>b</parameter>. Les deux paramètres doivent être + strictement positifs. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>a</parameter></term> + <listitem> + &gmp.parameter; + <para> + Doit être positif. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>b</parameter></term> + <listitem> + &gmp.parameter; + <para> + Doit être positif. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &gmp.return; + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> <example> <title>Exemple avec <function>gmp_hamdist</function></title> <programlisting role="php"> @@ -42,13 +81,20 @@ ]]> </screen> </example> - <para> - Voir aussi - <function>gmp_popcount</function> et - <function>gmp_xor</function>. - </para> - </refsect1> - </refentry> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>gmp_popcount</function></member> + <member><function>gmp_xor</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/gmp/functions/gmp-init.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc-fr/reference/gmp/functions/gmp-init.xml diff -u phpdoc-fr/reference/gmp/functions/gmp-init.xml:1.14 phpdoc-fr/reference/gmp/functions/gmp-init.xml:1.15 --- phpdoc-fr/reference/gmp/functions/gmp-init.xml:1.14 Sun Jul 22 18:10:52 2007 +++ phpdoc-fr/reference/gmp/functions/gmp-init.xml Tue Apr 29 06:47:00 2008 @@ -1,14 +1,15 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.8 Maintainer: didou Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> -<refentry xml:id="function.gmp-init" xmlns="http://docbook.org/ns/docbook"> +<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.gmp-init"> <refnamediv> <refname>gmp_init</refname> <refpurpose>Crée un nombre GMP</refpurpose> </refnamediv> - <refsect1> + + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>resource</type><methodname>gmp_init</methodname> @@ -16,20 +17,76 @@ <methodparam choice="opt"><type>int</type><parameter>base</parameter></methodparam> </methodsynopsis> <para> - <function>gmp_init</function> crée un nombre GMP, à partir d'un - entier ou d'une chaîne. Les chaînes peuvent être en - décimal, hexadécimal ou octal. - Le paramètre optionnel <parameter>base</parameter> est disponible - depuis &php; 4.1.0. Sa valeur par défaut est &zero;. + Crée un nombre GMP, à partir d'un entier ou d'une chaîne. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>number</parameter></term> + <listitem> + <para> + Un entier ou une chaîne de caractères. La chaîne peut être une + représentation décimale, héxadécimale ou octale. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>base</parameter></term> + <listitem> + <para> + La base. Par défaut, vaut 0. + </para> + <para> + La base peut varier de 2 à 36. Si la base vaut 0 (valeur par défaut), + la base actuelle est déterminée depuis les derniers caractères ; + si les deux premiers caractères sont <literal>0x</literal> ou + <literal>0X</literal>, on suppose que c'est de l'hexadécimal, + sinon, si le premier caractère est "0", on suppose que c'est de l'octal, + sinon, on suppose que c'est de la décimale. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &gmp.return; </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; <para> - La base peut varier de 2 à 36. Si la base vaut 0 (valeur par défaut), - la base actuelle est déterminée depuis les derniers caractères ; - si les deux premiers caractères sont <literal>0x</literal> ou - <literal>0X</literal>, on suppose que c'est de l'hexadécimal, - sinon, si le premier caractère est "0", on suppose que c'est de l'octal, - sinon, on suppose que c'est de la décimale. + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.1.0</entry> + <entry> + Le paramètre optionnel <parameter>base</parameter> a été ajouté. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Création d'un nombre GMP</title> @@ -43,10 +100,14 @@ </programlisting> </example> </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; <note> <para> Il n'est pas nécessaire d'appeler <function>gmp_init</function> - si vous voulez utiliser des entiers ou des chaînes à la place de + si vous voulez utiliser des entiers ou des chaînes à la place de nombre GMP dans les fonctions GMP, comme <function>gmp_add</function>. Les arguments de ces fonctions sont automatiquement convertis en nombres GMP, si cette conversion est possible et nécessaire, en utilisant @@ -54,6 +115,7 @@ </para> </note> </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/gmp/functions/gmp-intval.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/gmp/functions/gmp-intval.xml diff -u phpdoc-fr/reference/gmp/functions/gmp-intval.xml:1.12 phpdoc-fr/reference/gmp/functions/gmp-intval.xml:1.13 --- phpdoc-fr/reference/gmp/functions/gmp-intval.xml:1.12 Sun Jul 22 18:10:52 2007 +++ phpdoc-fr/reference/gmp/functions/gmp-intval.xml Tue Apr 29 06:47:00 2008 @@ -1,42 +1,63 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="function.gmp-intval" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>gmp_intval</refname> - <refpurpose>Convertit un nombre GMP en entier</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>int</type><methodname>gmp_intval</methodname> - <methodparam><type>resource</type><parameter>gmpnumber</parameter></methodparam> - </methodsynopsis> - <para> - <function>gmp_intval</function> convertit un nombre GMP en entier. - <warning> - <simpara> - <function>gmp_intval</function> retourne un résultat cohérent - uniquement si le nombre GMP peut être représenté par un entier - &php; (i.e. type long signé). Si vous vous voulez simplement afficher - un nombre GMP, utilisez plutôt <function>gmp_strval</function>. - </simpara> - </warning> - </para> +<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.gmp-intval"> + <refnamediv> + <refname>gmp_intval</refname> + <refpurpose>Convertit un nombre GMP en entier</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>gmp_intval</methodname> + <methodparam><type>resource</type><parameter>gmpnumber</parameter></methodparam> + </methodsynopsis> + <para> + convertit un nombre GMP en entier. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>gmpnumber</parameter></term> + <listitem> + <para> + Un nombre GMP. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Un &integer;, représentant le nombre <parameter>gmpnumber</parameter>. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> <example> <title>Exemple avec <function>gmp_intval</function></title> <programlisting role="php"> <![CDATA[ <?php -// affiche le bon résultat +// Affiche le bon résultat echo gmp_intval("2147483647") . "\n"; -// affiche un mauvais résultat, hors de portée des entiers PHP +// Affiche un mauvais résultat, hors de portée des entiers PHP echo gmp_intval("2147483648") . "\n"; -// affiche le bon résultat +// Affiche le bon résultat echo gmp_strval("2147483648") . "\n"; ?> ]]> @@ -50,8 +71,22 @@ ]]> </screen> </example> - </refsect1> - </refentry> + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; + <warning> + <simpara> + Retourne un résultat cohérent uniquement si le nombre GMP peut être + représenté par un entier PHP (i.e. type long signé). Si vous vous + voulez simplement afficher un nombre GMP, utilisez plutôt + <function>gmp_strval</function>. + </simpara> + </warning> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/gmp/functions/gmp-invert.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/gmp/functions/gmp-invert.xml diff -u phpdoc-fr/reference/gmp/functions/gmp-invert.xml:1.9 phpdoc-fr/reference/gmp/functions/gmp-invert.xml:1.10 --- phpdoc-fr/reference/gmp/functions/gmp-invert.xml:1.9 Sun Jul 22 18:10:52 2007 +++ phpdoc-fr/reference/gmp/functions/gmp-invert.xml Tue Apr 29 06:47:00 2008 @@ -1,29 +1,60 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="function.gmp-invert" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>gmp_invert</refname> - <refpurpose>Inverse modulo</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>resource</type><methodname>gmp_invert</methodname> - <methodparam><type>resource</type><parameter>a</parameter></methodparam> - <methodparam><type>resource</type><parameter>b</parameter></methodparam> - </methodsynopsis> - <para> - <function>gmp_invert</function> calcule l'inverse de - <parameter>a</parameter> modulo <parameter>b</parameter>. - <function>gmp_invert</function> retourne &false; si un tel - inverse n'existe pas. - </para> - <example> - <title>Exemple avec <function>gmp_invert</function></title> - <programlisting role="php"> +<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.gmp-invert"> + <refnamediv> + <refname>gmp_invert</refname> + <refpurpose>Modulo inversé</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>resource</type><methodname>gmp_invert</methodname> + <methodparam><type>resource</type><parameter>a</parameter></methodparam> + <methodparam><type>resource</type><parameter>b</parameter></methodparam> + </methodsynopsis> + <para> + Calcule l'inverse de <parameter>a</parameter> modulo + <parameter>b</parameter>. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>a</parameter></term> + <listitem> + &gmp.parameter; + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>b</parameter></term> + <listitem> + &gmp.parameter; + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Un nombre GMP en cas de succès, ou &false; si l'inverse n'existe pas. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>gmp_invert</function></title> + <programlisting role="php"> <![CDATA[ <?php echo gmp_invert("5", "10"); // pas d'inverse, n'affiche rien, le résultat est FALSE @@ -31,17 +62,18 @@ echo gmp_strval($invert) . "\n"; ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ 9 ]]> - </screen> - </example> + </screen> + </example> + </para> + </refsect1> - </refsect1> - </refentry> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/gmp/functions/gmp-jacobi.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/gmp/functions/gmp-jacobi.xml diff -u phpdoc-fr/reference/gmp/functions/gmp-jacobi.xml:1.11 phpdoc-fr/reference/gmp/functions/gmp-jacobi.xml:1.12 --- phpdoc-fr/reference/gmp/functions/gmp-jacobi.xml:1.11 Sun Jul 22 18:10:52 2007 +++ phpdoc-fr/reference/gmp/functions/gmp-jacobi.xml Tue Apr 29 06:47:00 2008 @@ -1,26 +1,62 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="function.gmp-jacobi" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <refnamediv> - <refname>gmp_jacobi</refname> - <refpurpose>Symbole de Jacobi</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>int</type><methodname>gmp_jacobi</methodname> - <methodparam><type>resource</type><parameter>a</parameter></methodparam> - <methodparam><type>resource</type><parameter>p</parameter></methodparam> - </methodsynopsis> - <para> - <function>gmp_jacobi</function> calcule le <link - xlink:href="&url.jacobi;">symbole de Jacobi</link> de <parameter>a</parameter> et - <parameter>p</parameter>. <parameter>p</parameter> doit être positif et - impair. - </para> +<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" xml:id="function.gmp-jacobi"> + <refnamediv> + <refname>gmp_jacobi</refname> + <refpurpose>Symbole de Jacobi</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>gmp_jacobi</methodname> + <methodparam><type>resource</type><parameter>a</parameter></methodparam> + <methodparam><type>resource</type><parameter>p</parameter></methodparam> + </methodsynopsis> + <para> + Calcule le <link + xlink:href="&url.jacobi;">symbole de Jacobi</link> de <parameter>a</parameter> et + <parameter>p</parameter>. <parameter>p</parameter> doit être positif et + impair. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>a</parameter></term> + <listitem> + &gmp.parameter; + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>p</parameter></term> + <listitem> + &gmp.parameter; + <para> + Doit être positif et impair. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &gmp.return; + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> <example> <title>Exemple avec <function>gmp_jacobi</function></title> <programlisting role="php"> @@ -39,8 +75,10 @@ ]]> </screen> </example> - </refsect1> - </refentry> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dom/book.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/dom/book.xml diff -u phpdoc-fr/reference/dom/book.xml:1.1 phpdoc-fr/reference/dom/book.xml:1.2 --- phpdoc-fr/reference/dom/book.xml:1.1 Sat Mar 8 09:15:53 2008 +++ phpdoc-fr/reference/dom/book.xml Tue Apr 29 06:46:59 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <!-- Purpose: xml --> <!-- Membership: bundled, external --> @@ -30,13 +30,6 @@ &reference.dom.setup; &reference.dom.constants; - - <!-- - <reference xml:id="functions.dom" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>DOM &Functions;</title> - &reference.dom.entities.functions; - </reference> - --> &reference.dom.domattr; &reference.dom.domcharacterdata; &reference.dom.domcomment; @@ -56,54 +49,13 @@ &reference.dom.domtext; &reference.dom.domxpath; - <!-- FIXME: - <section xml:id='dom.class.domnamelist'> - <title><classname>DOMNameList</classname></title> - <para> - - </para> - <section xml:id='dom.class.domnamelist.methods'> - &reftitle.methods; - <itemizedlist> - <listitem> - <para><xref linkend='function.dom-domnamelist-getname' /> - </para> - </listitem> - <listitem> - <para><xref linkend='function.dom-domnamelist-getnamespaceuri' /> - </para> - </listitem> - </itemizedlist> - </section> - <section xml:id='dom.class.domnamelist.properties'> - &reftitle.properties; - <table> - <title/> - <tgroup cols="4"> - <thead> - <row> - <entry>Name</entry> - <entry>Type</entry> - <entry>Read-only</entry> - <entry>Description</entry> - </row> - </thead> - <tbody> - <row> - <entry>length</entry> - <entry>int</entry> - <entry>yes</entry> - <entry> - The number of pairs (name and namespaceURI) in the list. The range - of valid child node indices is 0 to <literal>length - 1</literal> - inclusive. - </entry> - </row> - </tbody> - </tgroup> - </table> - </section> - </section>--> + <reference xml:id="ref.dom" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>DOM &Functions;</title> + &reference.dom.entities.functions; + </reference> </book> + <!-- Keep this comment at the end of the file Local variables: mode: sgml @@ -123,4 +75,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/gmp/functions/gmp-gcd.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/gmp/functions/gmp-gcd.xml diff -u phpdoc-fr/reference/gmp/functions/gmp-gcd.xml:1.11 phpdoc-fr/reference/gmp/functions/gmp-gcd.xml:1.12 --- phpdoc-fr/reference/gmp/functions/gmp-gcd.xml:1.11 Sun Jul 22 18:10:52 2007 +++ phpdoc-fr/reference/gmp/functions/gmp-gcd.xml Tue Apr 29 06:47:00 2008 @@ -1,26 +1,59 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="function.gmp-gcd" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>gmp_gcd</refname> - <refpurpose>PGCD</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>resource</type><methodname>gmp_gcd</methodname> - <methodparam><type>resource</type><parameter>a</parameter></methodparam> - <methodparam><type>resource</type><parameter>b</parameter></methodparam> - </methodsynopsis> - <para> - <function>gmp_gcd</function> calcule le PGCD (plus grand commun - diviseur) de <parameter>a</parameter> et <parameter>b</parameter>. - Le résultat est toujours positif, même si l'un des deux (ou les deux) - nombres est négatif. - </para> +<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.gmp-gcd"> + <refnamediv> + <refname>gmp_gcd</refname> + <refpurpose>Calcule le GCD</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>resource</type><methodname>gmp_gcd</methodname> + <methodparam><type>resource</type><parameter>a</parameter></methodparam> + <methodparam><type>resource</type><parameter>b</parameter></methodparam> + </methodsynopsis> + <para> + Calcule le PGCD (plus grand commun diviseur) de <parameter>a</parameter> + et <parameter>b</parameter>. Le résultat est toujours positif, même si + l'un des deux (ou les deux) nombres est négatif. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>a</parameter></term> + <listitem> + &gmp.parameter; + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>b</parameter></term> + <listitem> + &gmp.parameter; + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Un nombre positif GMP qui se divise avec + <parameter>a</parameter> et <parameter>b</parameter>. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> <example> <title>Exemple avec <function>gmp_gcd</function></title> <programlisting role="php"> @@ -38,8 +71,10 @@ ]]> </screen> </example> - </refsect1> - </refentry> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/gmp/functions/gmp-hamdist.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-fr/reference/gmp/functions/gmp-hamdist.xml diff -u phpdoc-fr/reference/gmp/functions/gmp-hamdist.xml:1.10 phpdoc-fr/reference/gmp/functions/gmp-hamdist.xml:1.11 --- phpdoc-fr/reference/gmp/functions/gmp-hamdist.xml:1.10 Sun Jul 22 18:10:52 2007 +++ phpdoc-fr/reference/gmp/functions/gmp-hamdist.xml Tue Apr 29 06:47:00 2008 @@ -1,25 +1,64 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="function.gmp-hamdist" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>gmp_hamdist</refname> - <refpurpose>Distance de Hamming</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>int</type><methodname>gmp_hamdist</methodname> - <methodparam><type>resource</type><parameter>a</parameter></methodparam> - <methodparam><type>resource</type><parameter>b</parameter></methodparam> - </methodsynopsis> - <para> - <function>gmp_hamdist</function> retourne la distance de Hamming - entre <parameter>a</parameter> et <parameter>b</parameter>. Les deux - paramètres doivent être strictement positifs. - </para> +<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.gmp-hamdist"> + <refnamediv> + <refname>gmp_hamdist</refname> + <refpurpose>Distance de Hamming</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>gmp_hamdist</methodname> + <methodparam><type>resource</type><parameter>a</parameter></methodparam> + <methodparam><type>resource</type><parameter>b</parameter></methodparam> + </methodsynopsis> + <para> + Retourne la distance de Hamming entre <parameter>a</parameter> + et <parameter>b</parameter>. Les deux paramètres doivent être + strictement positifs. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>a</parameter></term> + <listitem> + &gmp.parameter; + <para> + Doit être positif. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>b</parameter></term> + <listitem> + &gmp.parameter; + <para> + Doit être positif. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &gmp.return; + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> <example> <title>Exemple avec <function>gmp_hamdist</function></title> <programlisting role="php"> @@ -42,13 +81,20 @@ ]]> </screen> </example> - <para> - Voir aussi - <function>gmp_popcount</function> et - <function>gmp_xor</function>. - </para> - </refsect1> - </refentry> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>gmp_popcount</function></member> + <member><function>gmp_xor</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/gmp/functions/gmp-init.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc-fr/reference/gmp/functions/gmp-init.xml diff -u phpdoc-fr/reference/gmp/functions/gmp-init.xml:1.14 phpdoc-fr/reference/gmp/functions/gmp-init.xml:1.15 --- phpdoc-fr/reference/gmp/functions/gmp-init.xml:1.14 Sun Jul 22 18:10:52 2007 +++ phpdoc-fr/reference/gmp/functions/gmp-init.xml Tue Apr 29 06:47:00 2008 @@ -1,14 +1,15 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.8 Maintainer: didou Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> -<refentry xml:id="function.gmp-init" xmlns="http://docbook.org/ns/docbook"> +<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.gmp-init"> <refnamediv> <refname>gmp_init</refname> <refpurpose>Crée un nombre GMP</refpurpose> </refnamediv> - <refsect1> + + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>resource</type><methodname>gmp_init</methodname> @@ -16,20 +17,76 @@ <methodparam choice="opt"><type>int</type><parameter>base</parameter></methodparam> </methodsynopsis> <para> - <function>gmp_init</function> crée un nombre GMP, à partir d'un - entier ou d'une chaîne. Les chaînes peuvent être en - décimal, hexadécimal ou octal. - Le paramètre optionnel <parameter>base</parameter> est disponible - depuis &php; 4.1.0. Sa valeur par défaut est &zero;. + Crée un nombre GMP, à partir d'un entier ou d'une chaîne. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>number</parameter></term> + <listitem> + <para> + Un entier ou une chaîne de caractères. La chaîne peut être une + représentation décimale, héxadécimale ou octale. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>base</parameter></term> + <listitem> + <para> + La base. Par défaut, vaut 0. + </para> + <para> + La base peut varier de 2 à 36. Si la base vaut 0 (valeur par défaut), + la base actuelle est déterminée depuis les derniers caractères ; + si les deux premiers caractères sont <literal>0x</literal> ou + <literal>0X</literal>, on suppose que c'est de l'hexadécimal, + sinon, si le premier caractère est "0", on suppose que c'est de l'octal, + sinon, on suppose que c'est de la décimale. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &gmp.return; </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; <para> - La base peut varier de 2 à 36. Si la base vaut 0 (valeur par défaut), - la base actuelle est déterminée depuis les derniers caractères ; - si les deux premiers caractères sont <literal>0x</literal> ou - <literal>0X</literal>, on suppose que c'est de l'hexadécimal, - sinon, si le premier caractère est "0", on suppose que c'est de l'octal, - sinon, on suppose que c'est de la décimale. + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.1.0</entry> + <entry> + Le paramètre optionnel <parameter>base</parameter> a été ajouté. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Création d'un nombre GMP</title> @@ -43,10 +100,14 @@ </programlisting> </example> </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; <note> <para> Il n'est pas nécessaire d'appeler <function>gmp_init</function> - si vous voulez utiliser des entiers ou des chaînes à la place de + si vous voulez utiliser des entiers ou des chaînes à la place de nombre GMP dans les fonctions GMP, comme <function>gmp_add</function>. Les arguments de ces fonctions sont automatiquement convertis en nombres GMP, si cette conversion est possible et nécessaire, en utilisant @@ -54,6 +115,7 @@ </para> </note> </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/gmp/functions/gmp-intval.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/gmp/functions/gmp-intval.xml diff -u phpdoc-fr/reference/gmp/functions/gmp-intval.xml:1.12 phpdoc-fr/reference/gmp/functions/gmp-intval.xml:1.13 --- phpdoc-fr/reference/gmp/functions/gmp-intval.xml:1.12 Sun Jul 22 18:10:52 2007 +++ phpdoc-fr/reference/gmp/functions/gmp-intval.xml Tue Apr 29 06:47:00 2008 @@ -1,42 +1,63 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="function.gmp-intval" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>gmp_intval</refname> - <refpurpose>Convertit un nombre GMP en entier</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>int</type><methodname>gmp_intval</methodname> - <methodparam><type>resource</type><parameter>gmpnumber</parameter></methodparam> - </methodsynopsis> - <para> - <function>gmp_intval</function> convertit un nombre GMP en entier. - <warning> - <simpara> - <function>gmp_intval</function> retourne un résultat cohérent - uniquement si le nombre GMP peut être représenté par un entier - &php; (i.e. type long signé). Si vous vous voulez simplement afficher - un nombre GMP, utilisez plutôt <function>gmp_strval</function>. - </simpara> - </warning> - </para> +<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.gmp-intval"> + <refnamediv> + <refname>gmp_intval</refname> + <refpurpose>Convertit un nombre GMP en entier</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>gmp_intval</methodname> + <methodparam><type>resource</type><parameter>gmpnumber</parameter></methodparam> + </methodsynopsis> + <para> + convertit un nombre GMP en entier. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>gmpnumber</parameter></term> + <listitem> + <para> + Un nombre GMP. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Un &integer;, représentant le nombre <parameter>gmpnumber</parameter>. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> <example> <title>Exemple avec <function>gmp_intval</function></title> <programlisting role="php"> <![CDATA[ <?php -// affiche le bon résultat +// Affiche le bon résultat echo gmp_intval("2147483647") . "\n"; -// affiche un mauvais résultat, hors de portée des entiers PHP +// Affiche un mauvais résultat, hors de portée des entiers PHP echo gmp_intval("2147483648") . "\n"; -// affiche le bon résultat +// Affiche le bon résultat echo gmp_strval("2147483648") . "\n"; ?> ]]> @@ -50,8 +71,22 @@ ]]> </screen> </example> - </refsect1> - </refentry> + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; + <warning> + <simpara> + Retourne un résultat cohérent uniquement si le nombre GMP peut être + représenté par un entier PHP (i.e. type long signé). Si vous vous + voulez simplement afficher un nombre GMP, utilisez plutôt + <function>gmp_strval</function>. + </simpara> + </warning> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/gmp/functions/gmp-invert.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/gmp/functions/gmp-invert.xml diff -u phpdoc-fr/reference/gmp/functions/gmp-invert.xml:1.9 phpdoc-fr/reference/gmp/functions/gmp-invert.xml:1.10 --- phpdoc-fr/reference/gmp/functions/gmp-invert.xml:1.9 Sun Jul 22 18:10:52 2007 +++ phpdoc-fr/reference/gmp/functions/gmp-invert.xml Tue Apr 29 06:47:00 2008 @@ -1,29 +1,60 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="function.gmp-invert" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>gmp_invert</refname> - <refpurpose>Inverse modulo</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>resource</type><methodname>gmp_invert</methodname> - <methodparam><type>resource</type><parameter>a</parameter></methodparam> - <methodparam><type>resource</type><parameter>b</parameter></methodparam> - </methodsynopsis> - <para> - <function>gmp_invert</function> calcule l'inverse de - <parameter>a</parameter> modulo <parameter>b</parameter>. - <function>gmp_invert</function> retourne &false; si un tel - inverse n'existe pas. - </para> - <example> - <title>Exemple avec <function>gmp_invert</function></title> - <programlisting role="php"> +<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.gmp-invert"> + <refnamediv> + <refname>gmp_invert</refname> + <refpurpose>Modulo inversé</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>resource</type><methodname>gmp_invert</methodname> + <methodparam><type>resource</type><parameter>a</parameter></methodparam> + <methodparam><type>resource</type><parameter>b</parameter></methodparam> + </methodsynopsis> + <para> + Calcule l'inverse de <parameter>a</parameter> modulo + <parameter>b</parameter>. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>a</parameter></term> + <listitem> + &gmp.parameter; + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>b</parameter></term> + <listitem> + &gmp.parameter; + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Un nombre GMP en cas de succès, ou &false; si l'inverse n'existe pas. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>gmp_invert</function></title> + <programlisting role="php"> <![CDATA[ <?php echo gmp_invert("5", "10"); // pas d'inverse, n'affiche rien, le résultat est FALSE @@ -31,17 +62,18 @@ echo gmp_strval($invert) . "\n"; ?> ]]> - </programlisting> - &example.outputs; - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ 9 ]]> - </screen> - </example> + </screen> + </example> + </para> + </refsect1> - </refsect1> - </refentry> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/gmp/functions/gmp-jacobi.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/gmp/functions/gmp-jacobi.xml diff -u phpdoc-fr/reference/gmp/functions/gmp-jacobi.xml:1.11 phpdoc-fr/reference/gmp/functions/gmp-jacobi.xml:1.12 --- phpdoc-fr/reference/gmp/functions/gmp-jacobi.xml:1.11 Sun Jul 22 18:10:52 2007 +++ phpdoc-fr/reference/gmp/functions/gmp-jacobi.xml Tue Apr 29 06:47:00 2008 @@ -1,26 +1,62 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry xml:id="function.gmp-jacobi" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <refnamediv> - <refname>gmp_jacobi</refname> - <refpurpose>Symbole de Jacobi</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>int</type><methodname>gmp_jacobi</methodname> - <methodparam><type>resource</type><parameter>a</parameter></methodparam> - <methodparam><type>resource</type><parameter>p</parameter></methodparam> - </methodsynopsis> - <para> - <function>gmp_jacobi</function> calcule le <link - xlink:href="&url.jacobi;">symbole de Jacobi</link> de <parameter>a</parameter> et - <parameter>p</parameter>. <parameter>p</parameter> doit être positif et - impair. - </para> +<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" xml:id="function.gmp-jacobi"> + <refnamediv> + <refname>gmp_jacobi</refname> + <refpurpose>Symbole de Jacobi</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>gmp_jacobi</methodname> + <methodparam><type>resource</type><parameter>a</parameter></methodparam> + <methodparam><type>resource</type><parameter>p</parameter></methodparam> + </methodsynopsis> + <para> + Calcule le <link + xlink:href="&url.jacobi;">symbole de Jacobi</link> de <parameter>a</parameter> et + <parameter>p</parameter>. <parameter>p</parameter> doit être positif et + impair. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>a</parameter></term> + <listitem> + &gmp.parameter; + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>p</parameter></term> + <listitem> + &gmp.parameter; + <para> + Doit être positif et impair. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &gmp.return; + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> <example> <title>Exemple avec <function>gmp_jacobi</function></title> <programlisting role="php"> @@ -39,8 +75,10 @@ ]]> </screen> </example> - </refsect1> - </refentry> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: