svn: /phpdoc/bg/trunk/reference/math/functions/ abs.xml log.xml

[email protected] (Stanislav Yordanov) Tue, 12 Apr 2016 22:02:52 +0000
Newsgroups php.doc.bg
Message-ID <[email protected]>
stanprog                                 Tue, 12 Apr 2016 22:02:52 +0000

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

Log:
sync with EN

Changed paths:
    U   phpdoc/bg/trunk/reference/math/functions/abs.xml
    U   phpdoc/bg/trunk/reference/math/functions/log.xml

Modified: phpdoc/bg/trunk/reference/math/functions/abs.xml
===================================================================
--- phpdoc/bg/trunk/reference/math/functions/abs.xml	2016-04-12 21:27:49 UTC (rev 338999)
+++ phpdoc/bg/trunk/reference/math/functions/abs.xml	2016-04-12 22:02:52 UTC (rev 339000)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: gun Status: ready -->
+<!-- EN-Revision: 333708 Maintainer: stanprog Status: ready -->
+<!-- CREDITS: gun -->
 <refentry xml:id="function.abs" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>abs</refname>
@@ -8,12 +9,12 @@
  </refnamediv>
  <refsect1 role="description">
   &reftitle.description;
-   <methodsynopsis>
-    <type>number</type><methodname>abs</methodname>
-    <methodparam><type>mixed</type><parameter>number</parameter></methodparam>
-   </methodsynopsis>
+  <methodsynopsis>
+   <type>number</type><methodname>abs</methodname>
+   <methodparam><type>mixed</type><parameter>number</parameter></methodparam>
+  </methodsynopsis>
   <para>
-  Връща абсолютната стойност на <parameter>number</parameter>.
+   Връща абсолютната стойност на <parameter>number</parameter>.
   </para>
  </refsect1>
  <refsect1 role="parameters">
@@ -34,7 +35,8 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   Абсолютна стойност на <parameter>number</parameter>. Ако <parameter>number</parameter> е
+   Абсолютна стойност на <parameter>number</parameter>. Ако
+   <parameter>number</parameter> е
    от тип <type>float</type>, то и функцията връща също резултат от тип <type>float</type>,
    в противен случай се връща стойност от тип <type>integer</type> (обикновено <type>float</type> има
    по-голяма обхват на стойностите отколкото <type>integer</type>).
@@ -48,15 +50,26 @@
     <programlisting role="php">
 <![CDATA[
 <?php
-$abs = abs(-4.2); // $abs = 4.2; (double/float)
-$abs2 = abs(5);   // $abs2 = 5; (integer)
-$abs3 = abs(-5);  // $abs3 = 5; (integer)
+echo abs(-4.2); // 4.2 (double/float)
+echo abs(5);    // 5 (integer)
+echo abs(-5);   // 5 (integer)
 ?>
 ]]>
     </programlisting>
    </example>
   </para>
  </refsect1>
+
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><function>gmp_abs</function></member>
+    <member><function>gmp_sign</function></member>
+   </simplelist>
+  </para>
+ </refsect1>
+
 </refentry>

 <!-- Keep this comment at the end of the file

Modified: phpdoc/bg/trunk/reference/math/functions/log.xml
===================================================================
--- phpdoc/bg/trunk/reference/math/functions/log.xml	2016-04-12 21:27:49 UTC (rev 338999)
+++ phpdoc/bg/trunk/reference/math/functions/log.xml	2016-04-12 22:02:52 UTC (rev 339000)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: gun Status: ready -->
+<!-- EN-Revision: 334605 Maintainer: stanprog Status: ready -->
+<!-- CREDITS: gun -->
 <refentry xml:id="function.log" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>log</refname>
@@ -8,11 +9,11 @@
  </refnamediv>
  <refsect1 role="description">
   &reftitle.description;
-   <methodsynopsis>
-    <type>float</type><methodname>log</methodname>
-    <methodparam><type>float</type><parameter>arg</parameter></methodparam>
-    <methodparam choice="opt"><type>float</type><parameter>base</parameter><initializer>M_E</initializer></methodparam>
-   </methodsynopsis>
+  <methodsynopsis>
+   <type>float</type><methodname>log</methodname>
+   <methodparam><type>float</type><parameter>arg</parameter></methodparam>
+   <methodparam choice="opt"><type>float</type><parameter>base</parameter><initializer>M_E</initializer></methodparam>
+  </methodsynopsis>
   <para>
    Ако незадължителният параметър <parameter>base</parameter> е указан,
    <function>log</function> връща log<subscript>base</subscript>
@@ -37,8 +38,7 @@
      <listitem>
       <para>
        Незадължителната основа на логаритъма, която се използва
-       (стойността й по подразбиране е 'e' т.е. се изчислява
-       натурален логаритъм).
+       (стойността й по подразбиране е 'e' т.е. се изчислява натурален логаритъм).
       </para>
      </listitem>
     </varlistentry>
@@ -53,33 +53,6 @@
    натуралния логаритъм.
   </para>
  </refsect1>
-<refsect1 role="changelog">
-  &reftitle.changelog;
-  <para>
-   <informaltable>
-    <tgroup cols="2">
-     <thead>
-      <row>
-       <entry>&Version;</entry>
-       <entry>&Description;</entry>
-      </row>
-     </thead>
-     <tbody>
-      <row>
-       <entry>От 4.3.0</entry>
-       <entry>
-        Достъпен е незадължителният параметър <parameter>base</parameter>.
-        За по-стари версии можете да пресметне логаритъма с основа <literal>b</literal>
-        на числото <literal>n</literal>, но използвайки математическото тъждество:
-        log<subscript>b</subscript>(n) = log(n)/log(b), където log е
-        натурален логаритъм.
-       </entry>
-      </row>
-     </tbody>
-    </tgroup>
-   </informaltable>
-  </para>
- </refsect1>
  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>