8000 Update translations from Transifex · python/python-docs-pt-br@4c866ce · GitHub
[go: up one dir, main page]

Skip to content

Commit 4c866ce

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent d33bd37 commit 4c866ce

File tree

2 files changed

+102
-11
lines changed

2 files changed

+102
-11
lines changed

library/cmath.po

Lines changed: 101 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,15 @@ msgid ""
5858
"axis we look at the sign of the imaginary part, while for a branch cut along "
5959
"the imaginary axis we look at the sign of the real part."
6060
msgstr ""
61+
"Para funções que envolvem cortes de ramificação, temos o problema de decidir "
62+
"como definir essas funções no próprio corte. Seguindo o artigo de Kahan "
63+
"intitulado \"Branch cuts for complex elementary functions\" (em tradução "
64+
"livre, \"Cortes de ramificação para funções elementares complexas\"), bem "
65+
"como o Anexo G do C99 e padrões C posteriores, usamos o sinal de zero para "
66+
"distinguir um lado do outro no corte de ramificação: para um corte de "
67+
"ramificação ao longo (uma porção) do eixo real olhamos para o sinal da parte "
68+
"imaginária, enquanto para um corte de ramificação ao longo do eixo "
69+
"imaginário olhamos para o sinal da parte real."
6170

6271
#: ../../library/cmath.rst:26
6372
msgid ""
@@ -66,23 +75,32 @@ msgid ""
6675
"though it lies *below* the branch cut, and so gives a result on the negative "
6776
"imaginary axis::"
6877
msgstr ""
78+
"Por exemplo, a função :func:`cmath.sqrt` tem um corte de ramificação ao "
79+
"longo do eixo real negativo. Um argumento de ``complex(-2.0, -0.0)`` é "
80+
"tratado como se estivesse *abaixo* do corte de ramificação, e assim dá um "
81+
"resultado no eixo imaginário negativo::"
6982

7083
#: ../../library/cmath.rst:34
7184
msgid ""
7285
"But an argument of ``complex(-2.0, 0.0)`` is treated as though it lies above "
7386
"the branch cut::"
7487
msgstr ""
88+
"Mas um argumento de ``complex(-2.0, 0.0)`` é tratado como se estivesse acima "
89+
"do corte de ramificação::"
7590

7691
#: ../../library/cmath.rst:42
7792
msgid "Conversions to and from polar coordinates"
78-
msgstr ""
93+
msgstr "Conversões de e para coordenadas polares"
7994

8095
#: ../../library/cmath.rst:44
8196
msgid ""
8297
"A Python complex number ``z`` is stored internally using *rectangular* or "
8398
"*Cartesian* coordinates. It is completely determined by its *real part* ``z."
8499
"real`` and its *imaginary part* ``z.imag``."
85100
msgstr ""
101+
"Um número complexo Python ``z`` é armazenado internamente usando coordenadas "
102+
"*retangulares* ou *cartesianas*. É completamente determinado por sua *parte "
103+
"real* ``z.real`` e sua *parte imaginária* ``z.imag``."
86104

87105
#: ../../library/cmath.rst:48
88106
msgid ""
@@ -93,12 +111,19 @@ msgid ""
93111
"radians, from the positive x-axis to the line segment that joins the origin "
94112
"to *z*."
95113
msgstr ""
114+
"*Coordenadas polares* fornecem uma forma alternativa de representar um "
115+
"número complexo. Em coordenadas polares, um número complexo *z* é definido "
116+
"pelo módulo *r* e pelo ângulo de fase *phi*. O módulo *r* é a distância de "
117+
"*z* à origem, enquanto a fase *phi* é o ângulo anti-horário, medido em "
118+
"radianos, do eixo x positivo ao segmento de reta que une a origem a *z*."
96119

97120
#: ../../library/cmath.rst:55
98121
msgid ""
99122
"The following functions can be used to convert from the native rectangular "
100123
"coordinates to polar coordinates and back."
101124
msgstr ""
125+
"As funções a seguir podem ser usadas para converter coordenadas retangulares "
126+
"nativas em coordenadas polares e vice-versa."
102127

103128
#: ../../library/cmath.rst:60
104129
msgid ""
@@ -108,26 +133,39 @@ msgid ""
108133
"along the negative real axis. The sign of the result is the same as the "
109134
"sign of ``x.imag``, even when ``x.imag`` is zero::"
110135
msgstr ""
136+
"Retorna a fase de *x* (também conhecido como *argumento* de *x*), como um "
137+
"ponto flutuante. ``phase(x)`` é equivalente a ``math.atan2(x.imag, x."
138+
"real)``. O resultado está no intervalo [-\\ *π*, *π*], e o corte de "
139+
"ramificação para esta operação está ao longo do eixo real negativo. O sinal "
140+
"do resultado é igual ao sinal de ``x.imag``, mesmo quando ``x.imag`` é zero::"
111141

112142
#: ../../library/cmath.rst:74
113143
msgid ""
114144
"The modulus (absolute value) of a complex number *x* can be computed using "
115145
"the built-in :func:`abs` function. There is no separate :mod:`cmath` module "
116146
"function for this operation."
117147
msgstr ""
148+
"O módulo (valor absoluto) de um número complexo *x* pode ser calculado "
149+
"usando a função embutida :func:`abs`. Não há função do módulo :mod:`cmath` "
150+
"separada para esta operação."
118151

119152
#: ../../library/cmath.rst:81
120153
msgid ""
121154
"Return the representation of *x* in polar coordinates. Returns a pair ``(r, "
122155
"phi)`` where *r* is the modulus of *x* and phi is the phase of *x*. "
123156
"``polar(x)`` is equivalent to ``(abs(x), phase(x))``."
124157
msgstr ""
158+
"Retorna a representação de *x* em coordenadas polares. Retorna um par ``(r, "
159+
"phi)`` onde *r* é o módulo de *x* e phi é a fase de *x*. ``polar(x)`` é "
160+
"equivalente a ``(abs(x), phase(x))``."
125161

126162
#: ../../library/cmath.rst:89
127163
msgid ""
128164
"Return the complex number *x* with polar coordinates *r* and *phi*. "
129165
"Equivalent to ``complex(r * math.cos(phi), r * math.sin(phi))``."
130166
msgstr ""
167+
"Retorna o número complexo *x* com coordenadas polares *r* e *phi*. "
168+
"Equivalente a ``complex(r * math.cos(phi), r * math.sin(phi))``."
131169

132170
#: ../../library/cmath.rst:94
133171
msgid "Power and logarithmic functions"
@@ -138,24 +176,32 @@ msgid ""
138176
"Return *e* raised to the power *x*, where *e* is the base of natural "
139177
"logarithms."
140178
msgstr ""
179+
"Retorna *e* elevado à potência *x*, onde *e* é a base de logaritmos naturais."
141180

142181
#: ../../library/cmath.rst:104
143182
msgid ""
144183
"Returns the logarithm of *x* to the given *base*. If the *base* is not "
145184
"specified, returns the natural logarithm of *x*. There is one branch cut, "
146185
"from 0 along the negative real axis to -∞."
147186
msgstr ""
187+
"Retorna o logaritmo de *x* para a *base* fornecida. Se a *base* não for "
188+
"especificada, retorna o logaritmo natural de *x*. Há um corte de "
189+
"ramificação, de 0 ao longo do eixo real negativo até -∞."
148190

149191
#: ../../library/cmath.rst:111
150192
msgid ""
151193
"Return the base-10 logarithm of *x*. This has the same branch cut as :func:"
152194
"`log`."
153195
msgstr ""
196+
"Retorna o logaritmo de base 10 de *x*. Este tem o mesmo corte de ramificação "
197+
"que :func:`log`."
154198

155199
#: ../../library/cmath.rst:117
156200
msgid ""
157201
"Return the square root of *x*. This has the same branch cut as :func:`log`."
158202
msgstr ""
203+
"Retorna a raiz quadrada de *x*. Este tem o mesmo corte de ramificação que :"
204+
"func:`log`."
159205

160206
#: ../../library/cmath.rst:121
161207
msgid "Trigonometric functions"
@@ -167,30 +213,38 @@ msgid ""
167213
"from 1 along the real axis to ∞. The other extends left from -1 along the "
168214
"real axis to -∞."
169215
msgstr ""
216+
"Retorna o arco cosseno de *x*. Existem dois cortes de ramificação: um se "
217+
"estende desde 1 ao longo do eixo real até ∞. O outro se estende para a "
218+
"esquerda de -1 ao longo do eixo real até -∞."
170219

171220
#: ../../library/cmath.rst:132
172221
msgid ""
173222
"Return the arc sine of *x*. This has the same branch cuts as :func:`acos`."
174223
msgstr ""
224+
"Retorna o arco seno de *x*. Tem os mesmos cortes de ramificação que :func:"
225+
"`acos`."
175226

176227
#: ../../library/cmath.rst:137
177228
msgid ""
178229
"Return the arc tangent of *x*. There are two branch cuts: One extends from "
179230
"``1j`` along the imaginary axis to ``∞j``. The other extends from ``-1j`` "
180231
"along the imaginary axis to ``-∞j``."
181232
msgstr ""
233+
"Retorna o arco tangente de *x*. Existem dois cortes de ramificação: Um se "
234+
"estende de ``1j`` ao longo do eixo imaginário até ``∞j``. O outro se estende "
235+
"de ``-1j`` ao longo do eixo imaginário até ``-∞j``."
182236

183237
#: ../../library/cmath.rst:144
184238
msgid "Return the cosine of *x*."
185-
msgstr ""
239+
msgstr "Retorna o cosseno de *x*."
186240

187241
#: ../../library/cmath.rst:149
188242
msgid "Return the sine of *x*."
189-
msgstr "Devolve o seno de *x*."
243+
msgstr "Retorna o seno de *x*."
190244

191245
#: ../../library/cmath.rst:154
192246
msgid "Return the tangent of *x*."
193-
msgstr ""
247+
msgstr "Retorna a tangente de *x*."
194248

195249
#: ../../library/cmath.rst:158
196250
msgid "Hyperbolic functions"
@@ -201,20 +255,28 @@ msgid ""
201255
"Return the inverse hyperbolic cosine of *x*. There is one branch cut, "
202256
"extending left from 1 along the real axis to -∞."
203257
msgstr ""
258+
"Retorna o cosseno hiperbólico inverso de *x*. Há um corte de ramificação, "
259+
"estendendo-se para a esquerda de 1 ao longo do eixo real até -∞."
204260

205261
#: ../../library/cmath.rst:168
206262
msgid ""
207263
"Return the inverse hyperbolic sine of *x*. There are two branch cuts: One "
208264
"extends from ``1j`` along the imaginary axis to ``∞j``. The other extends "
209265
"from ``-1j`` along the imaginary axis to ``-∞j``."
210266
msgstr ""
267+
"Retorna o seno hiperbólico inverso de *x*. Existem dois cortes de "
268+
"ramificação: Um se estende de ``1j`` ao longo do eixo imaginário até ``∞j``. "
269+
"O outro se estende de ``-1j`` ao longo do eixo imaginário até ``-∞j``."
211270

212271
#: ../../library/cmath.rst:175
213272
msgid ""
214273
"Return the inverse hyperbolic tangent of *x*. There are two branch cuts: One "
215274
"extends from ``1`` along the real axis to ``∞``. The other extends from "
216275
"``-1`` along the real axis to ``-∞``."
217276
msgstr ""
277+
"Retorna a tangente hiperbólica inversa de *x*. Existem dois cortes de "
278+
"ramificação: Um se estende de ``1`` ao longo do eixo real até ``∞``. O outro "
279+
"se estende de ``-1`` ao longo do eixo real até ``-∞``."
218280

219281
#: ../../library/cmath.rst:182
220282
msgid "Return the hyperbolic cosine of *x*."
@@ -230,25 +292,31 @@ msgstr "Retorna a tangente hiperbólica de *x*."
230292

231293
#: ../../library/cmath.rst:196
232294
msgid "Classification functions"
233-
msgstr ""
295+
msgstr "Funções de classificação"
234296

235297
#: ../../library/cmath.rst:200
236298
msgid ""
237299
"Return ``True`` if both the real and imaginary parts of *x* are finite, and "
238300
"``False`` otherwise."
239301
msgstr ""
302+
"Retorna ``True`` se ambas as partes real e imaginária de *x* forem finitas, "
303+
"e ``False`` caso contrário."
240304

241305
#: ../../library/cmath.rst:208
242306
msgid ""
243307
"Return ``True`` if either the real or the imaginary part of *x* is an "
244308
"infinity, and ``False`` otherwise."
245309
msgstr ""
310+
"Retorna ``True`` se ou a parte real ou a imaginária de *x* for infinito, e "
311+
"``False`` caso contrário."
246312

247313
#: ../../library/cmath.rst:214
248314
msgid ""
249315
"Return ``True`` if either the real or the imaginary part of *x* is a NaN, "
250316
"and ``False`` otherwise."
251317
msgstr ""
318+
"Retorna ``True`` se ou a parte real ou a imaginária de *x* for NaN, e "
319+
"``False`` caso contrário."
252320

253321
#: ../../library/cmath.rst:220
254322
msgid ""
@@ -275,7 +343,7 @@ msgid ""
275343
"within about 9 decimal digits. *rel_tol* must be greater than zero."
276344
msgstr ""
277345
"*rel_tol* é a tolerância relativa -- é a diferença máxima permitida entre "
278-
"*a* e *b*, em relação ao maior valor absoluto de *a* e *b*. Por exemplo, "
346+
"*a* e *b*, em relação ao maior valor absoluto de *a* ou *b*. Por exemplo, "
279347
"para definir uma tolerância de 5%, passe ``rel_tol=0.05``. A tolerância "
280348
"padrão é ``1e-09``, o que garante que os dois valores sejam iguais em cerca "
281349
"de 9 dígitos decimais. *rel_tol* deve ser maior que zero."
@@ -318,37 +386,43 @@ msgstr "Constantes"
318386

319387
#: ../../library/cmath.rst:255
320388
msgid "The mathematical constant *π*, as a float."
321-
msgstr ""
389+
msgstr "A constante matemática *π*, como um ponto flutuante."
322390

323391
#: ../../library/cmath.rst:260
324392
msgid "The mathematical constant *e*, as a float."
325-
msgstr ""
393+
msgstr "A constante matemática *e*, como um ponto flutuante."
326394

327395
#: ../../library/cmath.rst:265
328396
msgid "The mathematical constant *τ*, as a float."
329-
msgstr ""
397+
msgstr "A constante matemática *τ*, como um ponto flutuante."
330398

331399
#: ../../library/cmath.rst:272
332400
msgid "Floating-point positive infinity. Equivalent to ``float('inf')``."
333-
msgstr ""
401+
msgstr "Infinito positivo de ponto flutuante. Equivalente a ``float('inf')``."
334402

335403
#: ../../library/cmath.rst:279
336404
msgid ""
337405
"Complex number with zero real part and positive infinity imaginary part. "
338406
"Equivalent to ``complex(0.0, float('inf'))``."
339407
msgstr ""
408+
"Número complexo com parte real zero e parte imaginária infinita positiva. "
409+
"Equivalente a ``complex(0.0, float('inf'))``."
340410

341411
#: ../../library/cmath.rst:287
342412
msgid ""
343413
"A floating-point \"not a number\" (NaN) value. Equivalent to "
344414
"``float('nan')``."
345415
msgstr ""
416+
"Um valor de ponto flutuante \"não um número\" (NaN). Equivalente a "
417+
"``float('nan')``."
346418

347419
#: ../../library/cmath.rst:295
348420
msgid ""
349421
"Complex number with zero real part and NaN imaginary part. Equivalent to "
350422
"``complex(0.0, float('nan'))``."
351423
msgstr ""
424+
"Número complexo com parte real zero e parte imaginária NaN. Equivalente a "
425+
"``complex(0.0, float('nan'))``."
352426

353427
#: ../../library/cmath.rst:303
354428
msgid ""
@@ -361,6 +435,13 @@ msgid ""
361435
"as a real number (in which case the complex number has an imaginary part of "
362436
"zero)."
363437
msgstr ""
438+
"Observe que a seleção de funções é semelhante, mas não idêntica, àquela no "
439+
"módulo :mod:`math`. A razão para ter dois módulos é que alguns usuários não "
440+
"estão interessados ​​em números complexos e talvez nem saibam o que são. Eles "
441+
"preferem que ``math.sqrt(-1)`` gere uma exceção do que retorne um número "
442+
"complexo. Observe também que as funções definidas em :mod:`cmath` sempre "
443+
"retornam um número complexo, mesmo que a resposta possa ser expressa como um "
444+
"número real (nesse caso o número complexo tem uma parte imaginária de zero)."
364445

365446
#: ../../library/cmath.rst:311
366447
msgid ""
@@ -372,13 +453,23 @@ msgid ""
372453
"choice of branch cuts for numerical purposes, a good reference should be the "
373454
"following:"
374455
msgstr ""
456+
"Uma nota sobre cortes de ramificação: são curvas ao longo das quais a função "
457+
"dada não é contínua. Eles são um recurso necessário de muitas funções "
458+
"complexas. Presume-se que se você precisar calcular com funções complexas, "
459+
"você entenderá sobre cortes de ramificação. Consulte quase qualquer livro "
460+
"(não muito elementar) sobre variáveis ​​complexas para obter esclarecimento. "
461+
"Para informações sobre a escolha adequada dos cortes de ramificação para "
462+
"fins numéricos, uma boa referência deve ser a seguinte:"
375463

376464
#: ../../library/cmath.rst:321
377465
msgid ""
378466
"Kahan, W: Branch cuts for complex elementary functions; or, Much ado about "
379467
"nothing's sign bit. In Iserles, A., and Powell, M. (eds.), The state of the "
380468
"art in numerical analysis. Clarendon Press (1987) pp165--211."
381469
msgstr ""
470+
"Kahan, W: Branch cuts for complex elementary functions; or, Much ado about "
471+
"nothing's sign bit. Em Iserles, A. e Powell, M. (eds.), The state of the "
472+
"art in numerical analysis. Clarendon Press (1987) pp165--211."
382473

383474
#: ../../library/cmath.rst:301
384475
msgid "module"

library/math.po

Lines changed: 1 addition & 1 deletion
4B7D
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ msgid ""
303303
"within about 9 decimal digits. *rel_tol* must be greater than zero."
304304
msgstr ""
305305
"*rel_tol* é a tolerância relativa -- é a diferença máxima permitida entre "
306-
"*a* e *b*, em relação ao maior valor absoluto de *a* e *b*. Por exemplo, "
306+
"*a* e *b*, em relação ao maior valor absoluto de *a* ou *b*. Por exemplo, "
307307
"para definir uma tolerância de 5%, passe ``rel_tol=0.05``. A tolerância "
308308
"padrão é ``1e-09``, o que garante que os dois valores sejam iguais em cerca "
309309
"de 9 dígitos decimais. *rel_tol* deve ser maior que zero."

0 commit comments

Comments
 (0)
0