cvs: phpdoc-de /reference/bc configure.xml reference.xml /reference/bc/functions bcpow.xml bcpowmod.xml
| From: | Friedhelm Betz | Date: | Fri, 13 Dec 2002 20:57:10 +0000 |
| Subject: | cvs: phpdoc-de /reference/bc configure.xml reference.xml /reference/bc/functions bcpow.xml bcpowmod.xml | ||
| Groups: | php.doc.de | ||
| Request: | Send a blank email to doc-de+get-368@lists.php.net to get a copy of this message | ||
betz Fri Dec 13 15:57:10 2002 EDT
Added files:
/phpdoc-de/reference/bc configure.xml
/phpdoc-de/reference/bc/functions bcpowmod.xml
Modified files:
/phpdoc-de/reference/bc reference.xml
/phpdoc-de/reference/bc/functions bcpow.xml
Log:
update to en
Index: phpdoc-de/reference/bc/reference.xml
diff -u phpdoc-de/reference/bc/reference.xml:1.5 phpdoc-de/reference/bc/reference.xml:1.6
--- phpdoc-de/reference/bc/reference.xml:1.5 Thu Sep 26 19:08:29 2002
+++ phpdoc-de/reference/bc/reference.xml Fri Dec 13 15:57:09 2002
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
-<!-- EN-Revision: 1.5 Maintainer: betz Status: ready -->
+<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.6 Maintainer: betz Status: ready -->
<reference id="ref.bc">
<title>Mathematische Funktionen mit beliebiger Genauigkeit</title>
@@ -22,19 +22,8 @@
externen Bibliotheken für diese Erweiterung.
</para>
</section>
-
- <section id="bc.installation">
- &reftitle.install;
- <para>
- In PHP 4 sind diese Funktionen nur verfügbar, wenn PHP mit
- <link linkend="install.configure.enable-bcmath">
- <option role="configure">--enable-bcmath</option></link>
konfiguriert
- wurde. In PHP 3 sind diese Funktionen nur verfügbar, wenn PHP nicht mit
- <link linkend="install.configure.disable-bcmath">
- <option role="configure">--disable-bcmath</option></link>
konfiguriert
- wurde.
- </para>
- </section>
+
+ &reference.bc.configure;
&reference.bc.ini;
Index: phpdoc-de/reference/bc/functions/bcpow.xml
diff -u phpdoc-de/reference/bc/functions/bcpow.xml:1.4
phpdoc-de/reference/bc/functions/bcpow.xml:1.5
--- phpdoc-de/reference/bc/functions/bcpow.xml:1.4 Fri May 31 13:47:08 2002
+++ phpdoc-de/reference/bc/functions/bcpow.xml Fri Dec 13 15:57:10 2002
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.2 Maintainer: betz Status: ready -->
+<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.4 Maintainer: betz Status: ready -->
<refentry id="function.bcpow">
<refnamediv>
@@ -23,7 +23,7 @@
die Anzahl der Nachkommastellen im Ergebnis fest.
</para>
<para>
- Siehe auch <function>bcsqrt</function>.
+ Siehe auch <function>bcpowmod</function> und
<function>bcsqrt</function>.
</para>
</refsect1>
</refentry>
Index: phpdoc-de/reference/bc/configure.xml
+++ phpdoc-de/reference/bc/configure.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- EN-Revision: 1.1 Maintainer: betz Status: ready -->
<section id="bc.installation">
&reftitle.install;
<para>
In PHP 4 sind diese Funktionen nur verfügbar, wenn <literal>PHP</literal>
mit <option role="configure">--enable-bcmath</option> konfiguriert wurde.
In PHP 3 sind diese Funktionen nur verfügbar, wenn <literal>PHP</literal>
nicht mit <option role="configure">--disable-bcmath</option> konfiguriert
wurde.
</para>
&windows.builtin;
</section>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-de/reference/bc/functions/bcpowmod.xml
+++ phpdoc-de/reference/bc/functions/bcpowmod.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- EN-Revision: 1.1 Maintainer: betz Status: ready -->
<refentry id="function.bcpowmod">
<refnamediv>
<refname>bcpowmod</refname>
<refpurpose>
Raise an arbitrary precision number to another, reduced by a specified modulus.
</refpurpose>
</refnamediv>
<refsect1>
<title>Beschreibung</title>
<methodsynopsis>
<type>string</type><methodname>bcpowmod</methodname>
<methodparam><type>string</type><parameter>x</parameter></methodparam>
<methodparam><type>string</type><parameter>y</parameter></methodparam>
<methodparam><type>string</type><parameter>modulus</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>scale</parameter></methodparam>
</methodsynopsis>
<simpara>
Benutzen Sie diese schnelle Exponentialmethode um
<parameter>x</parameter> mit <parameter>y</parameter> unter
Berücksichtigung des Modulo <parameter>modulus</parameter> zu potenzieren.
Der optionale Parameter <parameter>scale</parameter> legt die Anzahl der
Nachkommastellen im Ergebnis fest.
</simpara>
<para>
Die folgenden zwei Anweisungen sind funktional identisch.
Die Variante mit <function>bcpowmod</function> ist schneller und
akzeptiert größere Parameter
<informalexample>
<programlisting role="php">
<![CDATA[
<?php
$a = bcpowmod($x,$y,$mod);
$b = bcmod(bcpow($x,$y),$mod);
/* $a und $b sind genau gleich. */
?>
]]>
</programlisting>
</informalexample>
</para>
<para>
<note>
<simpara>
Die Verwendung von nicht-natürlichen Zahlen kann zu unerwarteten
Ergebnissen führen, weil diese Funktion die Modulodivision verwendet.
Eine natürliche Zahl ist jede ganzzahlige positive Zahl die ungleich
Null ist.
</simpara>
</note>
</para>
<para>
Siehe auch <function>bcpow</function> und
<function>bcmod</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->