pollita Mon Mar 31 14:39:31 2003 EDT
Modified files:
/phpdoc/en/reference/bc/functions bcpowmod.xml
Log:
Revert. While the exponent to bcpowmod should be an integer (in the mathematical
sense) it should still be passed as a string as it is not bounded by integer (in the
computational sense) limits. There's already a note stating that only natural numbers
should be used for any of the parameters.
Index: phpdoc/en/reference/bc/functions/bcpowmod.xml
diff -u phpdoc/en/reference/bc/functions/bcpowmod.xml:1.2
phpdoc/en/reference/bc/functions/bcpowmod.xml:1.3
--- phpdoc/en/reference/bc/functions/bcpowmod.xml:1.2 Mon Mar 31 09:52:04 2003
+++ phpdoc/en/reference/bc/functions/bcpowmod.xml Mon Mar 31 14:39:31 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.bcpowmod">
<refnamediv>
<refname>bcpowmod</refname>
@@ -12,7 +12,7 @@
<methodsynopsis>
<type>string</type><methodname>bcpowmod</methodname>
<methodparam><type>string</type><parameter>x</parameter></methodparam>
- <methodparam><type>int</type><parameter>y</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>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php