[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/_language-snippets.ent_reference/bc/functions/bcadd.xml_re
From:       Thomas_Punt <tpunt () php ! net>
Date:       2015-12-20 0:00:25
Message-ID: svn-tpunt-1450569625-338333-861582437 () svn ! php ! net
[Download RAW message or body]

tpunt                                    Sun, 20 Dec 2015 00:00:25 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=338333

Log:
Resolve doc bug #69349

Bug: https://bugs.php.net/69349 (Assigned) Default value of $scale parameter wrong
      
Changed paths:
    U   phpdoc/en/trunk/language-snippets.ent
    U   phpdoc/en/trunk/reference/bc/functions/bcadd.xml
    U   phpdoc/en/trunk/reference/bc/functions/bccomp.xml
    U   phpdoc/en/trunk/reference/bc/functions/bcdiv.xml
    U   phpdoc/en/trunk/reference/bc/functions/bcmul.xml
    U   phpdoc/en/trunk/reference/bc/functions/bcpow.xml
    U   phpdoc/en/trunk/reference/bc/functions/bcpowmod.xml
    U   phpdoc/en/trunk/reference/bc/functions/bcsqrt.xml
    U   phpdoc/en/trunk/reference/bc/functions/bcsub.xml

Modified: phpdoc/en/trunk/language-snippets.ent
===================================================================
--- phpdoc/en/trunk/language-snippets.ent	2015-12-19 23:28:53 UTC (rev 338332)
+++ phpdoc/en/trunk/language-snippets.ent	2015-12-20 00:00:25 UTC (rev 338333)
@@ -1122,8 +1122,9 @@
 <!-- BCMath Notes -->
 <!ENTITY bc.scale.description '<varlistentry \
xmlns="http://docbook.org/ns/docbook"><term><parameter>  \
scale</parameter></term><listitem><para>This optional parameter is used to set the \
                number
-of digits after the decimal place in the result. You can also set the global default \
                scale
-for all functions by using \
<function>bcscale</function>.</para></listitem></varlistentry>'> +of digits after the \
decimal place in the result. If omitted, it will default to the scale set +globally \
with the <function>bcscale</function> function, or fallback to <literal>0</literal> \
if +this has not been set.</para></listitem></varlistentry>'>

 <!-- CTYPE Notes -->
 <!ENTITY note.ctype.parameter.integer '<note \
xmlns="http://docbook.org/ns/docbook"><para>

Modified: phpdoc/en/trunk/reference/bc/functions/bcadd.xml
===================================================================
--- phpdoc/en/trunk/reference/bc/functions/bcadd.xml	2015-12-19 23:28:53 UTC (rev \
                338332)
+++ phpdoc/en/trunk/reference/bc/functions/bcadd.xml	2015-12-20 00:00:25 UTC (rev \
338333) @@ -12,7 +12,7 @@
    <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>
 +   <methodparam choice="opt"><type>int</type><parameter>scale</parameter><initializer>0</initializer></methodparam>
  </methodsynopsis>
   <para>
    Sums <parameter>left_operand</parameter> and

Modified: phpdoc/en/trunk/reference/bc/functions/bccomp.xml
===================================================================
--- phpdoc/en/trunk/reference/bc/functions/bccomp.xml	2015-12-19 23:28:53 UTC (rev \
                338332)
+++ phpdoc/en/trunk/reference/bc/functions/bccomp.xml	2015-12-20 00:00:25 UTC (rev \
338333) @@ -12,7 +12,7 @@
    <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><initializer>int</initializer></methodparam>
 +   <methodparam choice="opt"><type>int</type><parameter>scale</parameter><initializer>0</initializer></methodparam>
  </methodsynopsis>
   <para>
    Compares the <parameter>left_operand</parameter> to the

Modified: phpdoc/en/trunk/reference/bc/functions/bcdiv.xml
===================================================================
--- phpdoc/en/trunk/reference/bc/functions/bcdiv.xml	2015-12-19 23:28:53 UTC (rev \
                338332)
+++ phpdoc/en/trunk/reference/bc/functions/bcdiv.xml	2015-12-20 00:00:25 UTC (rev \
338333) @@ -12,7 +12,7 @@
    <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><initializer>int</initializer></methodparam>
 +   <methodparam choice="opt"><type>int</type><parameter>scale</parameter><initializer>0</initializer></methodparam>
  </methodsynopsis>
   <para>
    Divides the <parameter>left_operand</parameter> by the

Modified: phpdoc/en/trunk/reference/bc/functions/bcmul.xml
===================================================================
--- phpdoc/en/trunk/reference/bc/functions/bcmul.xml	2015-12-19 23:28:53 UTC (rev \
                338332)
+++ phpdoc/en/trunk/reference/bc/functions/bcmul.xml	2015-12-20 00:00:25 UTC (rev \
338333) @@ -12,7 +12,7 @@
    <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><initializer>int</initializer></methodparam>
 +   <methodparam choice="opt"><type>int</type><parameter>scale</parameter><initializer>0</initializer></methodparam>
  </methodsynopsis>
   <para>
    Multiply the <parameter>left_operand</parameter> by the

Modified: phpdoc/en/trunk/reference/bc/functions/bcpow.xml
===================================================================
--- phpdoc/en/trunk/reference/bc/functions/bcpow.xml	2015-12-19 23:28:53 UTC (rev \
                338332)
+++ phpdoc/en/trunk/reference/bc/functions/bcpow.xml	2015-12-20 00:00:25 UTC (rev \
338333) @@ -12,7 +12,7 @@
    <type>string</type><methodname>bcpow</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>
 +   <methodparam choice="opt"><type>int</type><parameter>scale</parameter><initializer>0</initializer></methodparam>
  </methodsynopsis>
   <para>
    Raise <parameter>left_operand</parameter> to the power

Modified: phpdoc/en/trunk/reference/bc/functions/bcpowmod.xml
===================================================================
--- phpdoc/en/trunk/reference/bc/functions/bcpowmod.xml	2015-12-19 23:28:53 UTC (rev \
                338332)
+++ phpdoc/en/trunk/reference/bc/functions/bcpowmod.xml	2015-12-20 00:00:25 UTC (rev \
338333) @@ -13,7 +13,7 @@
    <methodparam><type>string</type><parameter>left_operand</parameter></methodparam>
    <methodparam><type>string</type><parameter>right_operand</parameter></methodparam>
  <methodparam><type>string</type><parameter>modulus</parameter></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>scale</parameter><initializer>int</initializer></methodparam>
 +   <methodparam choice="opt"><type>int</type><parameter>scale</parameter><initializer>0</initializer></methodparam>
  </methodsynopsis>
   <para>
    Use the fast-exponentiation method to raise

Modified: phpdoc/en/trunk/reference/bc/functions/bcsqrt.xml
===================================================================
--- phpdoc/en/trunk/reference/bc/functions/bcsqrt.xml	2015-12-19 23:28:53 UTC (rev \
                338332)
+++ phpdoc/en/trunk/reference/bc/functions/bcsqrt.xml	2015-12-20 00:00:25 UTC (rev \
338333) @@ -11,7 +11,7 @@
   <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>
 +   <methodparam choice="opt"><type>int</type><parameter>scale</parameter><initializer>0</initializer></methodparam>
  </methodsynopsis>
   <para>
    Return the square root of the <parameter>operand</parameter>.

Modified: phpdoc/en/trunk/reference/bc/functions/bcsub.xml
===================================================================
--- phpdoc/en/trunk/reference/bc/functions/bcsub.xml	2015-12-19 23:28:53 UTC (rev \
                338332)
+++ phpdoc/en/trunk/reference/bc/functions/bcsub.xml	2015-12-20 00:00:25 UTC (rev \
338333) @@ -12,7 +12,7 @@
    <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><initializer>int</initializer></methodparam>
 +   <methodparam choice="opt"><type>int</type><parameter>scale</parameter><initializer>0</initializer></methodparam>
  </methodsynopsis>
   <para>
    Subtracts the <parameter>right_operand</parameter> from the



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic