@@ -13,7 +13,7 @@ msgid ""
1313msgstr ""
1414"Project-Id-Version : Python 3.7\n "
1515"Report-Msgid-Bugs-To : \n "
16- "POT-Creation-Date : 2019-01-01 10:14 +0900\n "
16+ "POT-Creation-Date : 2019-05-18 11:29 +0900\n "
1717"PO-Revision-Date : 2017-02-16 23:02+0000\n "
1818"
Last-Translator :
Meng Du <[email protected] >, 2019\n "
1919"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -29,16 +29,16 @@ msgstr ""
2929
3030#: ../../library/cmath.rst:9
3131msgid ""
32- "This module is always available. It provides access to mathematical "
33- "functions for complex numbers. The functions in this module accept "
34- "integers, floating-point numbers or complex numbers as arguments. They will "
35- "also accept any Python object that has either a :meth:`__complex__` or a "
36- ":meth:`__float__` method: these methods are used to convert the object to a "
37- "complex or floating-point number, respectively, and the function is then "
38- "applied to the result of the conversion."
32+ "This module provides access to mathematical functions for complex numbers. "
33+ "The functions in this module accept integers, floating-point numbers or "
34+ "complex numbers as arguments. They will also accept any Python object that "
35+ "has either a :meth:`__complex__` or a :meth:`__float__` method: these "
36+ "methods are used to convert the object to a complex or floating-point "
37+ "number, respectively, and the function is then applied to the result of the "
38+ "conversion."
3939msgstr ""
4040
41- #: ../../library/cmath.rst:19
41+ #: ../../library/cmath.rst:18
4242msgid ""
4343"On platforms with hardware and system-level support for signed zeros, "
4444"functions involving branch cuts are continuous on *both* sides of the branch"
@@ -47,18 +47,18 @@ msgid ""
4747"specified below."
4848msgstr ""
4949
50- #: ../../library/cmath.rst:27
50+ #: ../../library/cmath.rst:26
5151msgid "Conversions to and from polar coordinates"
5252msgstr ""
5353
54- #: ../../library/cmath.rst:29
54+ #: ../../library/cmath.rst:28
5555msgid ""
5656"A Python complex number ``z`` is stored internally using *rectangular* or "
5757"*Cartesian* coordinates. It is completely determined by its *real part* "
5858"``z.real`` and its *imaginary part* ``z.imag``. In other words::"
5959msgstr ""
6060
61- #: ../../library/cmath.rst:36
61+ #: ../../library/cmath.rst:35
6262msgid ""
6363"*Polar coordinates* give an alternative way to represent a complex number. "
6464"In polar coordinates, a complex number *z* is defined by the modulus *r* and"
@@ -68,13 +68,13 @@ msgid ""
6868"to *z*."
6969msgstr ""
7070
71- #: ../../library/cmath.rst:43
71+ #: ../../library/cmath.rst:42
7272msgid ""
7373"The following functions can be used to convert from the native rectangular "
7474"coordinates to polar coordinates and back."
7575msgstr ""
7676
77- #: ../../library/cmath.rst:48
77+ #: ../../library/cmath.rst:47
7878msgid ""
7979"Return the phase of *x* (also known as the *argument* of *x*), as a float. "
8080"``phase(x)`` is equivalent to ``math.atan2(x.imag, x.real)``. The result "
@@ -85,163 +85,163 @@ msgid ""
8585"even when ``x.imag`` is zero::"
8686msgstr ""
8787
88- #: ../../library/cmath.rst:65
88+ #: ../../library/cmath.rst:64
8989msgid ""
9090"The modulus (absolute value) of a complex number *x* can be computed using "
9191"the built-in :func:`abs` function. There is no separate :mod:`cmath` module"
9292" function for this operation."
9393msgstr ""
9494
95- #: ../../library/cmath.rst:72
95+ #: ../../library/cmath.rst:71
9696msgid ""
9797"Return the representation of *x* in polar coordinates. Returns a pair ``(r,"
9898" phi)`` where *r* is the modulus of *x* and phi is the phase of *x*. "
9999"``polar(x)`` is equivalent to ``(abs(x), phase(x))``."
100100msgstr ""
101101
102- #: ../../library/cmath.rst:80
102+ #: ../../library/cmath.rst:79
103103msgid ""
104104"Return the complex number *x* with polar coordinates *r* and *phi*. "
105105"Equivalent to ``r * (math.cos(phi) + math.sin(phi)*1j)``."
106106msgstr ""
107107
108- #: ../../library/cmath.rst:85
108+ #: ../../library/cmath.rst:84
109109msgid "Power and logarithmic functions"
110110msgstr "幂函数与对数函数"
111111
112- #: ../../library/cmath.rst:89
112+ #: ../../library/cmath.rst:88
113113msgid ""
114114"Return *e* raised to the power *x*, where *e* is the base of natural "
115115"logarithms."
116116msgstr ""
117117
118- #: ../../library/cmath.rst:95
118+ #: ../../library/cmath.rst:94
119119msgid ""
120120"Returns the logarithm of *x* to the given *base*. If the *base* is not "
121121"specified, returns the natural logarithm of *x*. There is one branch cut, "
122122"from 0 along the negative real axis to -∞, continuous from above."
123123msgstr ""
124124
125- #: ../../library/cmath.rst:102
125+ #: ../../library/cmath.rst:101
126126msgid ""
127127"Return the base-10 logarithm of *x*. This has the same branch cut as "
128128":func:`log`."
129129msgstr ""
130130
131- #: ../../library/cmath.rst:108
131+ #: ../../library/cmath.rst:107
132132msgid ""
133133"Return the square root of *x*. This has the same branch cut as :func:`log`."
134134msgstr ""
135135
136- #: ../../library/cmath.rst:112
136+ #: ../../library/cmath.rst:111
137137msgid "Trigonometric functions"
138138msgstr "三角函数"
139139
140- #: ../../library/cmath.rst:116
140+ #: ../../library/cmath.rst:115
141141msgid ""
142142"Return the arc cosine of *x*. There are two branch cuts: One extends right "
143143"from 1 along the real axis to ∞, continuous from below. The other extends "
144144"left from -1 along the real axis to -∞, continuous from above."
145145msgstr ""
146146
147- #: ../../library/cmath.rst:123
147+ #: ../../library/cmath.rst:122
148148msgid ""
149149"Return the arc sine of *x*. This has the same branch cuts as :func:`acos`."
150150msgstr ""
151151
152- #: ../../library/cmath.rst:128
152+ #: ../../library/cmath.rst:127
153153msgid ""
154154"Return the arc tangent of *x*. There are two branch cuts: One extends from "
155155"``1j`` along the imaginary axis to ``∞j``, continuous from the right. The "
156156"other extends from ``-1j`` along the imaginary axis to ``-∞j``, continuous "
157157"from the left."
158158msgstr ""
159159
160- #: ../../library/cmath.rst:136
160+ #: ../../library/cmath.rst:135
161161msgid "Return the cosine of *x*."
162162msgstr ""
163163
164- #: ../../library/cmath.rst:141
164+ #: ../../library/cmath.rst:140
165165msgid "Return the sine of *x*."
166166msgstr ""
167167
168- #: ../../library/cmath.rst:146
168+ #: ../../library/cmath.rst:145
169169msgid "Return the tangent of *x*."
170170msgstr ""
171171
172- #: ../../library/cmath.rst:150
172+ #: ../../library/cmath.rst:149
173173msgid "Hyperbolic functions"
174174msgstr "双曲函数"
175175
176- #: ../../library/cmath.rst:154
176+ #: ../../library/cmath.rst:153
177177msgid ""
178178"Return the inverse hyperbolic cosine of *x*. There is one branch cut, "
179179"extending left from 1 along the real axis to -∞, continuous from above."
180180msgstr ""
181181
182- #: ../../library/cmath.rst:160
182+ #: ../../library/cmath.rst:159
183183msgid ""
184184"Return the inverse hyperbolic sine of *x*. There are two branch cuts: One "
185185"extends from ``1j`` along the imaginary axis to ``∞j``, continuous from the "
186186"right. The other extends from ``-1j`` along the imaginary axis to ``-∞j``, "
187187"continuous from the left."
188188msgstr ""
189189
190- #: ../../library/cmath.rst:168
190+ #: ../../library/cmath.rst:167
191191msgid ""
192192"Return the inverse hyperbolic tangent of *x*. There are two branch cuts: One"
193193" extends from ``1`` along the real axis to ``∞``, continuous from below. The"
194194" other extends from ``-1`` along the real axis to ``-∞``, continuous from "
195195"above."
196196msgstr ""
197197
198- #: ../../library/cmath.rst:176
198+ #: ../../library/cmath.rst:175
199199msgid "Return the hyperbolic cosine of *x*."
200200msgstr "返回 *x* 的双曲余弦值。"
201201
202- #: ../../library/cmath.rst:181
202+ #: ../../library/cmath.rst:180
203203msgid "Return the hyperbolic sine of *x*."
204204msgstr "返回 *x* 的双曲正弦值。"
205205
206- #: ../../library/cmath.rst:186
206+ #: ../../library/cmath.rst:185
207207msgid "Return the hyperbolic tangent of *x*."
208208msgstr "返回 *x* 的双曲正切值。"
209209
210- #: ../../library/cmath.rst:190
210+ #: ../../library/cmath.rst:189
211211msgid "Classification functions"
212212msgstr ""
213213
214- #: ../../library/cmath.rst:194
214+ #: ../../library/cmath.rst:193
215215msgid ""
216216"Return ``True`` if both the real and imaginary parts of *x* are finite, and "
217217"``False`` otherwise."
218218msgstr ""
219219
220- #: ../../library/cmath.rst:202
220+ #: ../../library/cmath.rst:201
221221msgid ""
222222"Return ``True`` if either the real or the imaginary part of *x* is an "
223223"infinity, and ``False`` otherwise."
224224msgstr ""
225225
226- #: ../../library/cmath.rst:208
226+ #: ../../library/cmath.rst:207
227227msgid ""
228228"Return ``True`` if either the real or the imaginary part of *x* is a NaN, "
229229"and ``False`` otherwise."
230230msgstr ""
231231
232- #: ../../library/cmath.rst:214
232+ #: ../../library/cmath.rst:213
233233msgid ""
234234"Return ``True`` if the values *a* and *b* are close to each other and "
235235"``False`` otherwise."
236236msgstr "若 *a* 和 *b* 的值比较接近则返回 ``True``,否则返回 ``False``。"
237237
238- #: ../../library/cmath.rst:217
238+ #: ../../library/cmath.rst:216
239239msgid ""
240240"Whether or not two values are considered close is determined according to "
241241"given absolute and relative tolerances."
242242msgstr "根据给定的绝对和相对容差确定两个值是否被认为是接近的。"
243243
244- #: ../../library/cmath.rst:220
244+ #: ../../library/cmath.rst:219
245245msgid ""
246246"*rel_tol* is the relative tolerance -- it is the maximum allowed difference "
247247"between *a* and *b*, relative to the larger absolute value of *a* or *b*. "
@@ -253,20 +253,20 @@ msgstr ""
253253"的较大绝对值。例如,要设置5%的容差,请传递 ``rel_tol=0.05`` 。默认容差为 ``1e-09``,确保两个值在大约9位十进制数字内相同。"
254254" *rel_tol* 必须大于零。"
255255
256- #: ../../library/cmath.rst:226
256+ #: ../../library/cmath.rst:225
257257msgid ""
258258"*abs_tol* is the minimum absolute tolerance -- useful for comparisons near "
259259"zero. *abs_tol* must be at least zero."
260260msgstr "*abs_tol* 是最小绝对容差 —— 对于接近零的比较很有用。 *abs_tol* 必须至少为零。"
261261
262- #: ../../library/cmath.rst:229
262+ #: ../../library/cmath.rst:228
263263msgid ""
264264"If no errors occur, the result will be: ``abs(a-b) <= max(rel_tol * "
265265"max(abs(a), abs(b)), abs_tol)``."
266266msgstr ""
267267"如果没有错误发生,结果将是: ``abs(a-b) <= max(rel_tol * max(abs(a), abs(b)), abs_tol)`` 。"
268268
269- #: ../../library/cmath.rst:232
269+ #: ../../library/cmath.rst:231
270270msgid ""
271271"The IEEE 754 special values of ``NaN``, ``inf``, and ``-inf`` will be "
272272"handled according to IEEE rules. Specifically, ``NaN`` is not considered "
@@ -276,49 +276,49 @@ msgstr ""
276276"IEEE 754特殊值 ``NaN`` , ``inf`` 和` `-inf`` 将根据IEEE规则处理。具体来说, ``NaN`` "
277277"不被认为接近任何其他值,包括 ``NaN`` 。 ``inf`` 和 ``-inf`` 只被认为接近自己。"
278278
279- #: ../../library/cmath.rst:241
279+ #: ../../library/cmath.rst:240
280280msgid ":pep:`485` -- A function for testing approximate equality"
281281msgstr ":pep:`485` —— 用于测试近似相等的函数"
282282
283- #: ../../library/cmath.rst:245
283+ #: ../../library/cmath.rst:244
284284msgid "Constants"
285285msgstr "常数"
286286
287- #: ../../library/cmath.rst:249
287+ #: ../../library/cmath.rst:248
288288msgid "The mathematical constant *π*, as a float."
289289msgstr ""
290290
291- #: ../../library/cmath.rst:254
291+ #: ../../library/cmath.rst:253
292292msgid "The mathematical constant *e*, as a float."
293293msgstr ""
294294
295- #: ../../library/cmath.rst:259
295+ #: ../../library/cmath.rst:258
296296msgid "The mathematical constant *τ*, as a float."
297297msgstr ""
298298
299- #: ../../library/cmath.rst:266
299+ #: ../../library/cmath.rst:265
300300msgid "Floating-point positive infinity. Equivalent to ``float('inf')``."
301301msgstr ""
302302
303- #: ../../library/cmath.rst:273
303+ #: ../../library/cmath.rst:272
304304msgid ""
305305"Complex number with zero real part and positive infinity imaginary part. "
306306"Equivalent to ``complex(0.0, float('inf'))``."
307307msgstr ""
308308
309- #: ../../library/cmath.rst:281
309+ #: ../../library/cmath.rst:280
310310msgid ""
311311"A floating-point \" not a number\" (NaN) value. Equivalent to "
312312"``float('nan')``."
313313msgstr ""
314314
315- #: ../../library/cmath.rst:289
315+ #: ../../library/cmath.rst:288
316316msgid ""
317317"Complex number with zero real part and NaN imaginary part. Equivalent to "
318318"``complex(0.0, float('nan'))``."
319319msgstr ""
320320
321- #: ../../library/cmath.rst:297
321+ #: ../../library/cmath.rst:296
322322msgid ""
323323"Note that the selection of functions is similar, but not identical, to that "
324324"in module :mod:`math`. The reason for having two modules is that some users"
@@ -330,7 +330,7 @@ msgid ""
330330"imaginary part of zero)."
331331msgstr ""
332332
333- #: ../../library/cmath.rst:305
333+ #: ../../library/cmath.rst:304
334334msgid ""
335335"A note on branch cuts: They are curves along which the given function fails "
336336"to be continuous. They are a necessary feature of many complex functions. "
@@ -341,7 +341,7 @@ msgid ""
341341" following:"
342342msgstr ""
343343
344- #: ../../library/cmath.rst:315
344+ #: ../../library/cmath.rst:314
345345msgid ""
346346"Kahan, W: Branch cuts for complex elementary functions; or, Much ado about "
347347"nothing's sign bit. In Iserles, A., and Powell, M. (eds.), The state of the"
0 commit comments