-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathconstants.xml
188 lines (187 loc) · 5.72 KB
/
constants.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 3cd079536ed302105f7f368509d8e7bf6a583384 Maintainer: seros Status: ready -->
<!-- Reviewed: no -->
<appendix xml:id="math.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants.core;
<para>
<table>
<title>Constantes matemáticas</title>
<tgroup cols="4">
<thead>
<row>
<entry>Constante</entry>
<entry>Valor</entry>
<entry>Descripción</entry>
<entry>Disponibilidad</entry>
</row>
</thead>
<tbody>
<row xml:id="constant.m-pi">
<entry><constant>M_PI</constant></entry>
<entry>3.14159265358979323846</entry>
<entry>Pi</entry>
<entry></entry>
</row>
<row xml:id="constant.m-e">
<entry><constant>M_E</constant></entry>
<entry>2.7182818284590452354</entry>
<entry>e</entry>
<entry></entry>
</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 xml:id="constant.m-log10e">
<entry><constant>M_LOG10E</constant></entry>
<entry>0.43429448190325182765</entry>
<entry>log_10 e</entry>
<entry></entry>
</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 xml:id="constant.m-ln10">
<entry><constant>M_LN10</constant></entry>
<entry>2.30258509299404568402</entry>
<entry>log_e 10</entry>
<entry></entry>
</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 xml:id="constant.m-pi-4">
<entry><constant>M_PI_4</constant></entry>
<entry>0.78539816339744830962</entry>
<entry>pi/4</entry>
<entry></entry>
</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 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 xml:id="constant.m-sqrtpi">
<entry><constant>M_SQRTPI</constant></entry>
<entry>1.77245385090551602729</entry>
<entry>sqrt(pi)</entry>
<entry>PHP 5.2.0</entry>
</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 xml:id="constant.m-sqrt2">
<entry><constant>M_SQRT2</constant></entry>
<entry>1.41421356237309504880</entry>
<entry>sqrt(2)</entry>
<entry></entry>
</row>
<row xml:id="constant.m-sqrt3">
<entry><constant>M_SQRT3</constant></entry>
<entry>1.73205080756887729352</entry>
<entry>sqrt(3)</entry>
<entry>PHP 5.2.0</entry>
</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 xml:id="constant.m-lnpi">
<entry><constant>M_LNPI</constant></entry>
<entry>1.14472988584940017414</entry>
<entry>log_e(pi)</entry>
<entry>PHP 5.2.0</entry>
</row>
<row xml:id="constant.m-euler">
<entry><constant>M_EULER</constant></entry>
<entry>0.57721566490153286061</entry>
<entry>Constante de Euler</entry>
<entry>PHP 5.2.0</entry>
</row>
<row xml:id="constant.php-round-half-up">
<entry><constant>PHP_ROUND_HALF_UP</constant></entry>
<entry>1</entry>
<entry>Redondeo al siguiente medio superior</entry>
<entry>PHP 5.3.0</entry>
</row>
<row xml:id="constant.php-round-half-down">
<entry><constant>PHP_ROUND_HALF_DOWN</constant></entry>
<entry>2</entry>
<entry>Redondeo al medio inferior</entry>
<entry>PHP 5.3.0</entry>
</row>
<row xml:id="constant.php-round-half-even">
<entry><constant>PHP_ROUND_HALF_EVEN</constant></entry>
<entry>3</entry>
<entry>Redondeo de las mitades de números pares</entry>
<entry>PHP 5.3.0</entry>
</row>
<row xml:id="constant.php-round-half-odd">
<entry><constant>PHP_ROUND_HALF_ODD</constant></entry>
<entry>4</entry>
<entry>Redondeo de las mitades de números impares</entry>
<entry>PHP 5.3.0</entry>
</row>
<row xml:id="constant.nan">
<entry><constant>NAN</constant></entry>
<entry>NAN (como float)</entry>
<entry>No es un numero (NAN=Not A Number)</entry>
<entry></entry>
</row>
<row xml:id="constant.inf">
<entry><constant>INF</constant></entry>
<entry>INF (como float)</entry>
<entry>Infinito</entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>
</para>
<para>
Todas las constantes sin una versión de PHP indicada están disponibles
desde la PHP 5.0.0.
</para>
</appendix>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->