cvs: phpdoc-sk /reference/bc/functions bcadd.xml bccomp.xml bcdiv.xml bcmod.xml bcmul.xml bcpow.xml bcpowmod.xml bcscale.xml bcsqrt.xml bcsub.xml
[email protected] ("Joseph Drake")
| Newsgroups | php.doc.sk |
|---|---|
| Message-ID | <cvsjoseph1045872659@cvsserver> |
joseph Fri Feb 21 19:10:59 2003 EDT
Added files:
/phpdoc-sk/reference/bc/functions bcadd.xml bccomp.xml bcdiv.xml
bcmod.xml bcmul.xml bcpow.xml
bcpowmod.xml bcscale.xml
bcsqrt.xml bcsub.xml
Log:
bc functions
joseph-20030221191059.txt
(text/plain, 16.8 KB)
Index: phpdoc-sk/reference/bc/functions/bcadd.xml
+++ phpdoc-sk/reference/bc/functions/bcadd.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.2 Maintainer: joseph Status: ready -->
<!-- splitted from ./en/functions/bc.xml, last change in rev 1.2 -->
<refentry id="function.bcadd">
<refnamediv>
<refname>bcadd</refname>
<refpurpose>Sèíta» dve èísla s µubovoµnou presnos»ou</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>string</type><methodname>bcadd</methodname>
<methodparam><type>string</type><parameter>left_operand</parameter></methodparam>
<methodparam><type>string</type><parameter>right_operand</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam>
</methodsynopsis>
<para>
Pripoèítava <parameter>left_operand</parameter> k
<parameter>right_operand</parameter>u a vracia súèet ako
re»azec. Voliteµný parameter <parameter>scale</parameter> sa
pou¾íva na nastavenie poètu èíslic za desatinou èiarkou vo
výsledku.
</para>
<para>
Tie¾ pozri <function>bcsub</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-sk/reference/bc/functions/bccomp.xml
+++ phpdoc-sk/reference/bc/functions/bccomp.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.2 Maintainer: joseph Status: ready -->
<!-- splitted from ./en/functions/bc.xml, last change in rev 1.2 -->
<refentry id="function.bccomp">
<refnamediv>
<refname>bccomp</refname>
<refpurpose>Porovna» dve èísla s µuboboµnou presnos»ou</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>int</type><methodname>bccomp</methodname>
<methodparam><type>string</type><parameter>left_operand</parameter></methodparam>
<methodparam><type>string</type><parameter>right_operand</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam>
</methodsynopsis>
<para>
Porovnáva <parameter>left_operand</parameter> s
<parameter>right_operand</parameter>om a vracia výsledok ako
integer. Voliteµný parameter <parameter>scale</parameter> sa
pou¾íva na nastavenie poètu èíslic za desatinou èiarkou, èo sa
vyu¾ije pri porovnávaní. Vrátená hodnota je 0, ak sú oba operandy
zhodné. Ak je <parameter>left_operand</parameter> väè¹í
ne¾ <parameter>right_operand</parameter>, vráti sa hodnota +1
a ak je <parameter>left_operand</parameter> men¹í ne¾
<parameter>right_operand</parameter>, vráti sa hodnota -1.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-sk/reference/bc/functions/bcdiv.xml
+++ phpdoc-sk/reference/bc/functions/bcdiv.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.2 Maintainer: joseph Status: ready -->
<!-- splitted from ./en/functions/bc.xml, last change in rev 1.2 -->
<refentry id="function.bcdiv">
<refnamediv>
<refname>bcdiv</refname>
<refpurpose>Vydeli» dve èísla s µubovoµnou presnos»ou</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>string</type><methodname>bcdiv</methodname>
<methodparam><type>string</type><parameter>left_operand</parameter></methodparam>
<methodparam><type>string</type><parameter>right_operand</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam>
</methodsynopsis>
<para>
Delí <parameter>left_operand</parameter>
<parameter>right_operand</parameter>om a vracia výsledok.
Voliteµný <parameter>scale</parameter> nastavuje poèet èíslic
za desatinou èiarkou vo výsledku.
</para>
<para>
Tie¾ pozri <function>bcmul</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-sk/reference/bc/functions/bcmod.xml
+++ phpdoc-sk/reference/bc/functions/bcmod.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.2 Maintainer: joseph Status: ready -->
<!-- splitted from ./en/functions/bc.xml, last change in rev 1.2 -->
<refentry id="function.bcmod">
<refnamediv>
<refname>bcmod</refname>
<refpurpose>
Získa» modulus èísla s µubovoµnou presnos»ou
</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>string</type><methodname>bcmod</methodname>
<methodparam><type>string</type><parameter>left_operand</parameter></methodparam>
<methodparam><type>string</type><parameter>modulus</parameter></methodparam>
</methodsynopsis>
<para>
Získa modulus <parameter>left_operand</parameter>u pomocou
<parameter>modulus</parameter>u.
</para>
<para>
Tie¾ pozri <function>bcdiv</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-sk/reference/bc/functions/bcmul.xml
+++ phpdoc-sk/reference/bc/functions/bcmul.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.2 Maintainer: joseph Status: ready -->
<!-- splitted from ./en/functions/bc.xml, last change in rev 1.2 -->
<refentry id="function.bcmul">
<refnamediv>
<refname>bcmul</refname>
<refpurpose>Vynásobi» dve èísla s µubovoµnou presnos»ou</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>string</type><methodname>bcmul</methodname>
<methodparam><type>string</type><parameter>left_operand</parameter></methodparam>
<methodparam><type>string</type><parameter>right_operand</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam>
</methodsynopsis>
<para>
Vynásobí <parameter>left_operand</parameter>
<parameter>right_operand</parameter>om a vracia výsledok.
Voliteµný <parameter>scale</parameter> nastavuje poèet èíslic
za desatinou èiarkou vo výsledku.
</para>
<para>
Tie¾ pozri <function>bcdiv</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-sk/reference/bc/functions/bcpow.xml
+++ phpdoc-sk/reference/bc/functions/bcpow.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.4 Maintainer: joseph Status: ready -->
<!-- splitted from ./en/functions/bc.xml, last change in rev 1.2 -->
<refentry id="function.bcpow">
<refnamediv>
<refname>bcpow</refname>
<refpurpose>
Umocni» èíslo s µubovoµnou presnos»ou na iné
</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>string</type><methodname>bcpow</methodname>
<methodparam><type>string</type><parameter>x</parameter></methodparam>
<methodparam><type>string</type><parameter>y</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam>
</methodsynopsis>
<para>
Umocní <parameter>x</parameter> na
<parameter>y</parameter>. Voliteµný
<parameter>scale</parameter> sa mô¾e pou¾i» na nastavenie poètu
èíslic za desatinou èiarkou vo výsledku.
</para>
<para>
Tie¾ pozri <function>bcpowmod</function> a
<function>bcsqrt</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-sk/reference/bc/functions/bcpowmod.xml
+++ phpdoc-sk/reference/bc/functions/bcpowmod.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.1 Maintainer: joseph Status: ready -->
<refentry id="function.bcpowmod">
<refnamediv>
<refname>bcpowmod</refname>
<refpurpose>
Umocni» èíslo s µubovoµnou presnos»ou na iné, redukované o urèený modulus.
</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</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>
Vyu¾íva metódu rýchleho umocòovania <parameter>x</parameter>
na <parameter>y</parameter> s ohµadom na modulus
<parameter>modulus</parameter>. Voliteµný
<parameter>scale</parameter> sa mo¾e pou¾i» na nastavenie poètu
èíslic za desatinou èiarkou vo výsledku.
</simpara>
<para>
Následujúce dva príkazy sú funkène identické. Av¹ak verzia
<function>bcpowmod</function> je rýchlej¹ia a mô¾e
pracova» s väè¹ími parametrami.
<informalexample>
<programlisting role="php">
<![CDATA[
<?php
$a = bcpowmod($x,$y,$mod);
$b = bcmod(bcpow($x,$y),$mod);
/* $a a $b su navzajom zhodne. */
?>
]]>
</programlisting>
</informalexample>
</para>
<para>
<note>
<simpara>
Preto¾e táto metóda vyu¾íva operáciu modulus, neprirodzené èísla
mô¾u ma» za dôsledok neèakané výsledky. Prirodzené èíslo je
kladný nenulový integer.
</simpara>
</note>
</para>
<para>
Tie¾ pozri <function>bcpow</function> a
<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
-->
Index: phpdoc-sk/reference/bc/functions/bcscale.xml
+++ phpdoc-sk/reference/bc/functions/bcscale.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.2 Maintainer: joseph Status: ready -->
<!-- splitted from ./en/functions/bc.xml, last change in rev 1.2 -->
<refentry id="function.bcscale">
<refnamediv>
<refname>bcscale</refname>
<refpurpose>
Nastavi» východziu ¹kálu pre v¹etky bc math funkcie
</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>string</type><methodname>bcscale</methodname>
<methodparam><type>int</type><parameter>scale</parameter></methodparam>
</methodsynopsis>
<para>
Táto funkcia nastavuje východziu ¹kálu pre v¹etky následné
bc math funkcie, ktoré explicitne ¹kálu ne¹pecifikujú.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-sk/reference/bc/functions/bcsqrt.xml
+++ phpdoc-sk/reference/bc/functions/bcsqrt.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.2 Maintainer: joseph Status: ready -->
<!-- splitted from ./en/functions/bc.xml, last change in rev 1.2 -->
<refentry id="function.bcsqrt">
<refnamediv>
<refname>bcsqrt</refname>
<refpurpose>
Získa» druhú odmocninu èísla s µubovoµnou presnos»ou
</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>string</type><methodname>bcsqrt</methodname>
<methodparam><type>string</type><parameter>operand</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam>
</methodsynopsis>
<para>
Vracia druhú odmocninu <parameter>operand</parameter>u.
Voliteµný parameter <parameter>scale</parameter> nastavuje
poèet èíslic za desatinou èiarkou vo výsleku.
</para>
<para>
Tie¾ pozri <function>bcpow</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-sk/reference/bc/functions/bcsub.xml
+++ phpdoc-sk/reference/bc/functions/bcsub.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.2 Maintainer: joseph Status: ready -->
<!-- splitted from ./en/functions/bc.xml, last change in rev 1.2 -->
<refentry id="function.bcsub">
<refnamediv>
<refname>bcsub</refname>
<refpurpose>
Odèíta» èíslo s µubovoµnou presnos»ou od iného
</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>string</type><methodname>bcsub</methodname>
<methodparam><type>string</type><parameter>left_operand</parameter></methodparam>
<methodparam><type>string</type><parameter>right_operand</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam>
</methodsynopsis>
<para>
Odèíta <parameter>right_operand</parameter> od
<parameter>left_operand</parameter>u a vracia výsledok ako
re»azec. Voliteµný parameter <parameter>scale</parameter> sa
pou¾íva na nastavenie poètu èíslic za desatinou èiarkou vo
výsledku.
</para>
<para>
Tie¾ pozri <function>bcadd</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
-->