svn: /phpdoc/bg/trunk/reference/math/ book.xml constants.xml
[email protected] (Stanislav Yordanov) Thu, 31 Mar 2016 22:30:50 +0000
| Newsgroups | php.doc.bg |
|---|---|
| Message-ID | <[email protected]> |
stanprog Thu, 31 Mar 2016 22:30:50 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338868
Log:
sync to EN
Changed paths:
U phpdoc/bg/trunk/reference/math/book.xml
U phpdoc/bg/trunk/reference/math/constants.xml
svn-diffs-338868.txt
(text/x-diff, 9 KB)
Modified: phpdoc/bg/trunk/reference/math/book.xml
===================================================================
--- phpdoc/bg/trunk/reference/math/book.xml 2016-03-31 22:22:07 UTC (rev 338867)
+++ phpdoc/bg/trunk/reference/math/book.xml 2016-03-31 22:30:50 UTC (rev 338868)
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: blum Status: ready -->
-<!-- Purpose: mathcrypto.math -->
-<!-- Membership: core -->
+<!-- EN-Revision: 330340 Maintainer: stanprog Status: ready -->
+<!-- CREDITS: blum -->
<book xml:id="book.math" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <?phpdoc extension-membership="core" ?>
<title>Математически функции</title>
<titleabbrev>Математически</titleabbrev>
@@ -12,10 +12,9 @@
<preface xml:id="intro.math">
&reftitle.intro;
<para>
- Математическите функции могат да обработват стойности в обвата на
- типовете целочислен и плаващ (аналогични на типовете long и double
- в C).
- Ако ви се налга да обработвате по-големи числа, отколкото позволяват тези
+ Математическите функции могат да обработват стойности в обхвата на
+ типовете целочислен и плаващ (аналогични на типовете long и double в C).
+ Ако ви се налага да обработвате по-големи числа, отколкото позволяват тези
типове, вижте <link linkend="book.bc">математически функции с условна
точност</link>.
</para>
Modified: phpdoc/bg/trunk/reference/math/constants.xml
===================================================================
--- phpdoc/bg/trunk/reference/math/constants.xml 2016-03-31 22:22:07 UTC (rev 338867)
+++ phpdoc/bg/trunk/reference/math/constants.xml 2016-03-31 22:30:50 UTC (rev 338868)
@@ -1,143 +1,168 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: gun Status: ready -->
+<!-- EN-Revision: 338283 Maintainer: stanprog Status: ready -->
+<!-- CREDITS: gun -->
<appendix xml:id="math.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants.core;
<para>
<table>
<title>Математически константи</title>
- <tgroup cols="3">
+ <tgroup cols="4">
<thead>
<row>
<entry>Константа</entry>
<entry>Стойност</entry>
<entry>Описание</entry>
+ <entry>Достъпност</entry>
</row>
</thead>
<tbody>
- <row>
+ <row xml:id="constant.m-pi">
<entry><constant>M_PI</constant></entry>
<entry>3.14159265358979323846</entry>
<entry>Пи</entry>
+ <entry></entry>
</row>
- <row>
+ <row xml:id="constant.m-e">
<entry><constant>M_E</constant></entry>
<entry>2.7182818284590452354</entry>
<entry>e</entry>
+ <entry></entry>
</row>
- <row>
+ <row xml:id="constant.m-log2e">
<entry><constant>M_LOG2E</constant></entry>
<entry>1.4426950408889634074</entry>
<entry>log_2 e</entry>
+ <entry></entry>
</row>
- <row>
+ <row xml:id="constant.m-log10e">
<entry><constant>M_LOG10E</constant></entry>
<entry>0.43429448190325182765</entry>
<entry>log_10 e</entry>
+ <entry></entry>
</row>
- <row>
+ <row xml:id="constant.m-ln2">
<entry><constant>M_LN2</constant></entry>
<entry>0.69314718055994530942</entry>
<entry>log_e 2</entry>
+ <entry></entry>
</row>
- <row>
+ <row xml:id="constant.m-ln10">
<entry><constant>M_LN10</constant></entry>
<entry>2.30258509299404568402</entry>
<entry>log_e 10</entry>
+ <entry></entry>
</row>
- <row>
+ <row xml:id="constant.m-pi-2">
<entry><constant>M_PI_2</constant></entry>
<entry>1.57079632679489661923</entry>
<entry>pi/2</entry>
+ <entry></entry>
</row>
- <row>
+ <row xml:id="constant.m-pi-4">
<entry><constant>M_PI_4</constant></entry>
- <entry>0.78539816339744830962</entry>
+ <entry>0.78539816339744830962</entry>
<entry>pi/4</entry>
+ <entry></entry>
</row>
- <row>
+ <row xml:id="constant.m-1-pi">
<entry><constant>M_1_PI</constant></entry>
<entry>0.31830988618379067154</entry>
<entry>1/pi</entry>
+ <entry></entry>
</row>
- <row>
+ <row xml:id="constant.m-2-pi">
<entry><constant>M_2_PI</constant></entry>
<entry>0.63661977236758134308</entry>
<entry>2/pi</entry>
+ <entry></entry>
</row>
- <row>
+ <row xml:id="constant.m-sqrtpi">
<entry><constant>M_SQRTPI</constant></entry>
<entry>1.77245385090551602729</entry>
- <entry>sqrt(pi) [5.2.0]</entry>
+ <entry>sqrt(pi)</entry>
+ <entry>PHP 5.2.0</entry>
</row>
- <row>
+ <row xml:id="constant.m-2-sqrtpi">
<entry><constant>M_2_SQRTPI</constant></entry>
<entry>1.12837916709551257390</entry>
<entry>2/sqrt(pi)</entry>
+ <entry></entry>
</row>
- <row>
+ <row xml:id="constant.m-sqrt2">
<entry><constant>M_SQRT2</constant></entry>
<entry>1.41421356237309504880</entry>
<entry>sqrt(2)</entry>
+ <entry></entry>
</row>
- <row>
+ <row xml:id="constant.m-sqrt3">
<entry><constant>M_SQRT3</constant></entry>
<entry>1.73205080756887729352</entry>
- <entry>sqrt(3) [5.2.0]</entry>
+ <entry>sqrt(3)</entry>
+ <entry>PHP 5.2.0</entry>
</row>
- <row>
+ <row xml:id="constant.m-sqrt1-2">
<entry><constant>M_SQRT1_2</constant></entry>
<entry>0.70710678118654752440</entry>
<entry>1/sqrt(2)</entry>
+ <entry></entry>
</row>
- <row>
+ <row xml:id="constant.m-lnpi">
<entry><constant>M_LNPI</constant></entry>
<entry>1.14472988584940017414</entry>
- <entry>log_e(pi) [5.2.0]</entry>
+ <entry>log_e(pi)</entry>
+ <entry>PHP 5.2.0</entry>
</row>
- <row>
+ <row xml:id="constant.m-euler">
<entry><constant>M_EULER</constant></entry>
<entry>0.57721566490153286061</entry>
- <entry>Ойлерова константа [5.2.0]</entry>
+ <entry>Ойлерова константа</entry>
+ <entry>PHP 5.2.0</entry>
</row>
- <row>
+ <row xml:id="constant.php-round-half-up">
<entry><constant>PHP_ROUND_HALF_UP</constant></entry>
<entry>1</entry>
- <entry>Закръгляване от половината нагоре [5.3.0]</entry>
+ <entry>Закръгляване от половината нагоре</entry>
+ <entry>PHP 5.3.0</entry>
</row>
- <row>
+ <row xml:id="constant.php-round-half-down">
<entry><constant>PHP_ROUND_HALF_DOWN</constant></entry>
<entry>2</entry>
- <entry>Закръгляване от половината надолу [5.3.0]</entry>
+ <entry>Закръгляване от половината надолу</entry>
+ <entry>PHP 5.3.0</entry>
</row>
- <row>
+ <row xml:id="constant.php-round-half-even">
<entry><constant>PHP_ROUND_HALF_EVEN</constant></entry>
<entry>3</entry>
- <entry>Закръгляване към четно число [5.3.0]</entry>
+ <entry>Закръгляване към четно число</entry>
+ <entry>PHP 5.3.0</entry>
</row>
- <row>
+ <row xml:id="constant.php-round-half-odd">
<entry><constant>PHP_ROUND_HALF_ODD</constant></entry>
<entry>4</entry>
- <entry>Закръгляване към нечетно число [5.3.0]</entry>
+ <entry>Закръгляване към нечетно число</entry>
+ <entry>PHP 5.3.0</entry>
</row>
- <row>
+ <row xml:id="constant.nan">
<entry><constant>NAN</constant></entry>
<entry>NAN (като число с плаваща запетая)</entry>
<entry>Не е число</entry>
+ <entry></entry>
</row>
- <row>
+ <row xml:id="constant.inf">
<entry><constant>INF</constant></entry>
<entry>INF (като число с плаваща запетая)</entry>
<entry>Безкрайност</entry>
+ <entry></entry>
</row>
</tbody>
</tgroup>
</table>
- Единствено константата <constant>M_PI</constant> е достъпна до PHP 4.0.0, включително.
- Останалите константи са достъпни след версия 4.0.0.
- Константите отбелязани с [5.2.0] бяха добавени в PHP 5.2.0.
</para>
+ <para>
+ Всички константи без указаните версии да достъпни от PHP 5.0.0
+ </para>
</appendix>
<!-- Keep this comment at the end of the file