svn: /phpdoc/ja/trunk/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] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Wed, 18 Nov 2020 22:11:59 +0000

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

Log:
Generate bcmath methodsynopses based on stubs

Based on a patch contributed by Máté Kocsis <[email protected]>.

Changed paths:
    U   phpdoc/ja/trunk/reference/bc/functions/bcadd.xml
    U   phpdoc/ja/trunk/reference/bc/functions/bccomp.xml
    U   phpdoc/ja/trunk/reference/bc/functions/bcdiv.xml
    U   phpdoc/ja/trunk/reference/bc/functions/bcmod.xml
    U   phpdoc/ja/trunk/reference/bc/functions/bcmul.xml
    U   phpdoc/ja/trunk/reference/bc/functions/bcpow.xml
    U   phpdoc/ja/trunk/reference/bc/functions/bcpowmod.xml
    U   phpdoc/ja/trunk/reference/bc/functions/bcscale.xml
    U   phpdoc/ja/trunk/reference/bc/functions/bcsqrt.xml
    U   phpdoc/ja/trunk/reference/bc/functions/bcsub.xml
svn-diffs-351431.txt (text/x-diff, 24.2 KB)
Modified: phpdoc/ja/trunk/reference/bc/functions/bcadd.xml
===================================================================
--- phpdoc/ja/trunk/reference/bc/functions/bcadd.xml	2020-11-18 21:52:09 UTC (rev 351430)
+++ phpdoc/ja/trunk/reference/bc/functions/bcadd.xml	2020-11-18 22:11:59 UTC (rev 351431)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 338333 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351405 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: takagi -->
 <refentry xml:id="function.bcadd" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -12,13 +12,13 @@
   &reftitle.description;
   <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><initializer>0</initializer></methodparam>
+   <methodparam><type>string</type><parameter>num1</parameter></methodparam>
+   <methodparam><type>string</type><parameter>num2</parameter></methodparam>
+   <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>scale</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
-   <parameter>left_operand</parameter> を
-   <parameter>right_operand</parameter> に加算します。
+   <parameter>num1</parameter> を
+   <parameter>num2</parameter> に加算します。
   </para>
  </refsect1>

@@ -27,7 +27,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>left_operand</parameter></term>
+     <term><parameter>num1</parameter></term>
      <listitem>
       <para>
        左オペランドを表す文字列。
@@ -35,7 +35,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>right_operand</parameter></term>
+     <term><parameter>num2</parameter></term>
      <listitem>
       <para>
        右オペランドを表す文字列。
@@ -54,6 +54,28 @@
   </para>
  </refsect1>

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.0.0</entry>
+      <entry>
+       <parameter>scale</parameter> は null を受け入れるようになりました。
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <example>
@@ -83,7 +105,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/bc/functions/bccomp.xml
===================================================================
--- phpdoc/ja/trunk/reference/bc/functions/bccomp.xml	2020-11-18 21:52:09 UTC (rev 351430)
+++ phpdoc/ja/trunk/reference/bc/functions/bccomp.xml	2020-11-18 22:11:59 UTC (rev 351431)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 338333 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351405 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: takagi -->
 <refentry xml:id="function.bccomp" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -12,13 +12,13 @@
   &reftitle.description;
   <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><initializer>0</initializer></methodparam>
+   <methodparam><type>string</type><parameter>num1</parameter></methodparam>
+   <methodparam><type>string</type><parameter>num2</parameter></methodparam>
+   <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>scale</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
-   <parameter>left_operand</parameter> と
-   <parameter>right_operand</parameter> を比較し、
+   <parameter>num1</parameter> と
+   <parameter>num2</parameter> を比較し、
    結果を整数値で返します。
   </para>
  </refsect1>
@@ -28,7 +28,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>left_operand</parameter></term>
+     <term><parameter>num1</parameter></term>
      <listitem>
       <para>
        左オペランドを表す文字列。
@@ -36,7 +36,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>right_operand</parameter></term>
+     <term><parameter>num2</parameter></term>
      <listitem>
       <para>
        右オペランドを表す文字列。
@@ -60,11 +60,33 @@
   &reftitle.returnvalues;
   <para>
    ふたつのオペランドが等しければ 0、
-   <parameter>left_operand</parameter> が <parameter>right_operand</parameter>
+   <parameter>num1</parameter> が <parameter>num2</parameter>
    より大きければ返り値は 1、小さければ -1 を返します。
   </para>
  </refsect1>

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.0.0</entry>
+      <entry>
+       <parameter>scale</parameter> は、null を受け入れるようになりました。
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <example>
@@ -83,7 +105,6 @@
   </example>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/bc/functions/bcdiv.xml
===================================================================
--- phpdoc/ja/trunk/reference/bc/functions/bcdiv.xml	2020-11-18 21:52:09 UTC (rev 351430)
+++ phpdoc/ja/trunk/reference/bc/functions/bcdiv.xml	2020-11-18 22:11:59 UTC (rev 351431)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 343028 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351405 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: takagi,mumumu -->
 <refentry xml:id="function.bcdiv" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -12,13 +12,13 @@
   &reftitle.description;
   <methodsynopsis>
    <type>string</type><methodname>bcdiv</methodname>
-   <methodparam><type>string</type><parameter>dividend</parameter></methodparam>
-   <methodparam><type>string</type><parameter>divisor</parameter></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>scale</parameter><initializer>0</initializer></methodparam>
+   <methodparam><type>string</type><parameter>num1</parameter></methodparam>
+   <methodparam><type>string</type><parameter>num2</parameter></methodparam>
+   <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>scale</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
-   <parameter>dividend</parameter> を
-   <parameter>divisor</parameter> で除算します。
+   <parameter>num1</parameter> を
+   <parameter>num2</parameter> で除算します。
   </para>
  </refsect1>

@@ -27,7 +27,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>dividend</parameter></term>
+     <term><parameter>num1</parameter></term>
      <listitem>
       <para>
        被除数を表す文字列。
@@ -35,7 +35,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>divisor</parameter></term>
+     <term><parameter>num2</parameter></term>
      <listitem>
       <para>
        割る数を表す文字列。
@@ -51,11 +51,33 @@
   &reftitle.returnvalues;
   <para>
    除算結果を文字列で返します。
-   <parameter>divisor</parameter> が 0
+   <parameter>num2</parameter> が 0
    の場合は &null; を返します。
   </para>
  </refsect1>

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.0.0</entry>
+      <entry>
+       <parameter>scale</parameter> は、null を受け入れるようになりました。
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <example>
@@ -81,7 +103,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/bc/functions/bcmod.xml
===================================================================
--- phpdoc/ja/trunk/reference/bc/functions/bcmod.xml	2020-11-18 21:52:09 UTC (rev 351430)
+++ phpdoc/ja/trunk/reference/bc/functions/bcmod.xml	2020-11-18 22:11:59 UTC (rev 351431)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 346085 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351405 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: takagi,mumumu -->
 <refentry xml:id="function.bcmod" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -12,15 +12,15 @@
   &reftitle.description;
   <methodsynopsis>
    <type>string</type><methodname>bcmod</methodname>
-   <methodparam><type>string</type><parameter>dividend</parameter></methodparam>
-   <methodparam><type>string</type><parameter>divisor</parameter></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>scale</parameter><initializer>0</initializer></methodparam>
+   <methodparam><type>string</type><parameter>num1</parameter></methodparam>
+   <methodparam><type>string</type><parameter>num2</parameter></methodparam>
+   <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>scale</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
-   <parameter>dividend</parameter> の、
-   <parameter>divisor</parameter> を法とする剰余を取得します。
-   <parameter>divisor</parameter> が 0でなければ、
-   結果は <parameter>dividend</parameter> と同じ符号を持ちます。
+   <parameter>num1</parameter> の、
+   <parameter>num2</parameter> を法とする剰余を取得します。
+   <parameter>num2</parameter> が 0でなければ、
+   結果は <parameter>num1</parameter> と同じ符号を持ちます。
   </para>
  </refsect1>

@@ -29,7 +29,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>dividend</parameter></term>
+     <term><parameter>num1</parameter></term>
      <listitem>
       <para>
        被除数を表す文字列。
@@ -37,7 +37,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>divisor</parameter></term>
+     <term><parameter>num2</parameter></term>
      <listitem>
       <para>
        割る数を表す文字列。
@@ -52,7 +52,7 @@
   &reftitle.returnvalues;
   <para>
    剰余を文字列で返します。
-   <parameter>divisor</parameter> が 0 の場合は &null; を返します。
+   <parameter>num2</parameter> が 0 の場合は &null; を返します。
   </para>
  </refsect1>

@@ -68,9 +68,15 @@
     </thead>
     <tbody>
      <row>
+      <entry>8.0.0</entry>
+      <entry>
+       <parameter>scale</parameter> は null を受け入れるようになりました。
+      </entry>
+     </row>
+     <row>
       <entry>7.2.0</entry>
       <entry>
-       <parameter>dividend</parameter> と <parameter>divisor</parameter> は
+       <parameter>num1</parameter> と <parameter>num2</parameter> は
        整数に切り詰められることがなくなりました。
        よって、<function>bcmod</function> の振る舞いは
        <literal>%</literal> 演算子ではなく、
@@ -126,7 +132,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/bc/functions/bcmul.xml
===================================================================
--- phpdoc/ja/trunk/reference/bc/functions/bcmul.xml	2020-11-18 21:52:09 UTC (rev 351430)
+++ phpdoc/ja/trunk/reference/bc/functions/bcmul.xml	2020-11-18 22:11:59 UTC (rev 351431)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 343822 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351405 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: takagi,mumumu -->
 <refentry xml:id="function.bcmul" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -12,13 +12,13 @@
   &reftitle.description;
   <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><initializer>0</initializer></methodparam>
+   <methodparam><type>string</type><parameter>num1</parameter></methodparam>
+   <methodparam><type>string</type><parameter>num2</parameter></methodparam>
+   <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>scale</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
-   <parameter>left_operand</parameter> に
-   <parameter>right_operand</parameter> を掛けます。
+   <parameter>num1</parameter> に
+   <parameter>num2</parameter> を掛けます。
   </para>
  </refsect1>

@@ -27,7 +27,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>left_operand</parameter></term>
+     <term><parameter>num1</parameter></term>
      <listitem>
       <para>
        左オペランドを表す文字列。
@@ -35,7 +35,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>right_operand</parameter></term>
+     <term><parameter>num2</parameter></term>
      <listitem>
       <para>
        右オペランドを表す文字列。
@@ -66,6 +66,12 @@
     </thead>
     <tbody>
      <row>
+      <entry>8.0.0</entry>
+      <entry>
+       <parameter>scale</parameter> is now nullable.
+      </entry>
+     </row>
+     <row>
       <entry>7.3.0</entry>
       <entry>
        <function>bcmul</function> 関数が、指定されたスケールの数値を返すようになりました。
@@ -125,7 +131,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/bc/functions/bcpow.xml
===================================================================
--- phpdoc/ja/trunk/reference/bc/functions/bcpow.xml	2020-11-18 21:52:09 UTC (rev 351430)
+++ phpdoc/ja/trunk/reference/bc/functions/bcpow.xml	2020-11-18 22:11:59 UTC (rev 351431)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 343101 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351405 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: takagi,mumumu -->
 <refentry xml:id="function.bcpow" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -12,12 +12,12 @@
   &reftitle.description;
   <methodsynopsis>
    <type>string</type><methodname>bcpow</methodname>
-   <methodparam><type>string</type><parameter>base</parameter></methodparam>
+   <methodparam><type>string</type><parameter>num</parameter></methodparam>
    <methodparam><type>string</type><parameter>exponent</parameter></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>scale</parameter><initializer>0</initializer></methodparam>
+   <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>scale</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
-   <parameter>base</parameter> の
+   <parameter>num</parameter> の
    <parameter>exponent</parameter> 乗を求めます。
   </para>
  </refsect1>
@@ -27,7 +27,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>base</parameter></term>
+     <term><parameter>num</parameter></term>
      <listitem>
       <para>
        基数を表す文字列。
@@ -130,7 +130,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/bc/functions/bcpowmod.xml
===================================================================
--- phpdoc/ja/trunk/reference/bc/functions/bcpowmod.xml	2020-11-18 21:52:09 UTC (rev 351430)
+++ phpdoc/ja/trunk/reference/bc/functions/bcpowmod.xml	2020-11-18 22:11:59 UTC (rev 351431)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 349720 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351405 Maintainer: takagi Status: ready -->
 <!-- Credits: mumumu -->
 <refentry xml:id="function.bcpowmod" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -12,14 +12,14 @@
   &reftitle.description;
   <methodsynopsis>
    <type>string</type><methodname>bcpowmod</methodname>
-   <methodparam><type>string</type><parameter>base</parameter></methodparam>
+   <methodparam><type>string</type><parameter>num</parameter></methodparam>
    <methodparam><type>string</type><parameter>exponent</parameter></methodparam>
    <methodparam><type>string</type><parameter>modulus</parameter></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>scale</parameter><initializer>0</initializer></methodparam>
+   <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>scale</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
    <parameter>modulus</parameter> で割った余りを求めることを考慮して、
-   <parameter>base</parameter> の
+   <parameter>num</parameter> の
    <parameter>exponent</parameter> 乗を高速に計算します。
   </para>
  </refsect1>
@@ -29,7 +29,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>base</parameter></term>
+     <term><parameter>num</parameter></term>
      <listitem>
       <para>
        基数を表す整数の文字列。
@@ -79,6 +79,28 @@
   </note>
  </refsect1>

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.0.0</entry>
+      <entry>
+       <parameter>scale</parameter> は、null を受け入れるようになりました。
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <para>
@@ -112,7 +134,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/bc/functions/bcscale.xml
===================================================================
--- phpdoc/ja/trunk/reference/bc/functions/bcscale.xml	2020-11-18 21:52:09 UTC (rev 351430)
+++ phpdoc/ja/trunk/reference/bc/functions/bcscale.xml	2020-11-18 22:11:59 UTC (rev 351431)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 346739 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351405 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: takagi -->
 <refentry xml:id="function.bcscale" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -20,7 +20,7 @@
   </para>
   <methodsynopsis>
    <type>int</type><methodname>bcscale</methodname>
-   <void/>
+   <methodparam choice="opt"><type>null</type><parameter>scale</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
    現在のスケールを取得します。
@@ -63,6 +63,12 @@
     </thead>
     <tbody>
      <row>
+      <entry>8.0.0</entry>
+      <entry>
+       <parameter>scale</parameter> is now nullable.
+      </entry>
+     </row>
+     <row>
       <entry>7.3.0</entry>
       <entry>
        <function>bcscale</function> は、現在のスケールを取得するために
@@ -100,7 +106,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/bc/functions/bcsqrt.xml
===================================================================
--- phpdoc/ja/trunk/reference/bc/functions/bcsqrt.xml	2020-11-18 21:52:09 UTC (rev 351430)
+++ phpdoc/ja/trunk/reference/bc/functions/bcsqrt.xml	2020-11-18 22:11:59 UTC (rev 351431)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 338333 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351405 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: takagi -->
 <refentry xml:id="function.bcsqrt" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -12,11 +12,11 @@
   &reftitle.description;
   <methodsynopsis>
    <type>string</type><methodname>bcsqrt</methodname>
-   <methodparam><type>string</type><parameter>operand</parameter></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>scale</parameter><initializer>0</initializer></methodparam>
+   <methodparam><type>string</type><parameter>num</parameter></methodparam>
+   <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>scale</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
-   <parameter>operand</parameter> の平方根を返します。
+   <parameter>num</parameter> の平方根を返します。
   </para>
  </refsect1>

@@ -25,7 +25,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>operand</parameter></term>
+     <term><parameter>num</parameter></term>
      <listitem>
       <para>
        オペランドを表す文字列。
@@ -41,10 +41,32 @@
   &reftitle.returnvalues;
   <para>
    平方根を文字列で返します。
-   <parameter>operand</parameter> が負の場合は &null; を返します。
+   <parameter>num</parameter> が負の場合は &null; を返します。
   </para>
  </refsect1>

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.0.0</entry>
+      <entry>
+       <parameter>scale</parameter> は、null を受け入れるようになりました。
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <example>
@@ -70,7 +92,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/bc/functions/bcsub.xml
===================================================================
--- phpdoc/ja/trunk/reference/bc/functions/bcsub.xml	2020-11-18 21:52:09 UTC (rev 351430)
+++ phpdoc/ja/trunk/reference/bc/functions/bcsub.xml	2020-11-18 22:11:59 UTC (rev 351431)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 338333 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351405 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: takagi -->
 <refentry xml:id="function.bcsub" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -27,7 +27,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>left_operand</parameter></term>
+     <term><parameter>num1</parameter></term>
      <listitem>
       <para>
        左オペランドを表す文字列。
@@ -35,7 +35,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>right_operand</parameter></term>
+     <term><parameter>num2</parameter></term>
      <listitem>
       <para>
        右オペランドを表す文字列。
@@ -83,7 +83,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.