7
7
msgstr ""
8
8
"Project-Id-Version : Python 3.13\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
- "POT-Creation-Date : 2024-09-03 11:11+0800 \n "
10
+ "POT-Creation-Date : 2024-11-05 00:13+0000 \n "
11
11
"PO-Revision-Date : 2024-03-14 09:26+0800\n "
12
12
"
Last-Translator :
Enkai Huang <[email protected] >\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -309,42 +309,39 @@ msgid ""
309
309
msgstr "如果 *a* 和 *b* 的值相互接近,則回傳 ``True``,否則回傳 ``False``。"
310
310
311
311
#: ../../library/cmath.rst:223
312
+ #, fuzzy
312
313
msgid ""
313
314
"Whether or not two values are considered close is determined according to "
314
- "given absolute and relative tolerances."
315
+ "given absolute and relative tolerances. If no errors occur, the result will "
316
+ "be: ``abs(a-b) <= max(rel_tol * max(abs(a), abs(b)), abs_tol)``."
315
317
msgstr ""
316
318
"兩個值是否被認為相互接近是由給定的絕對和相對容許偏差 (tolerance) 所決定的。"
317
319
318
- #: ../../library/cmath.rst:226
320
+ #: ../../library/cmath.rst:227
321
+ #, fuzzy
319
322
msgid ""
320
323
"*rel_tol* is the relative tolerance -- it is the maximum allowed difference "
321
324
"between *a* and *b*, relative to the larger absolute value of *a* or *b*. "
322
325
"For example, to set a tolerance of 5%, pass ``rel_tol=0.05``. The default "
323
326
"tolerance is ``1e-09``, which assures that the two values are the same "
324
- "within about 9 decimal digits. *rel_tol* must be greater than zero."
327
+ "within about 9 decimal digits. *rel_tol* must be nonnegative and less than "
328
+ "``1.0``."
325
329
msgstr ""
326
330
"*rel_tol* 是相對容許偏差 -- 它是 *a* 和 *b* 之間的最大容許偏差值,相對於 *a* "
327
331
"或 *b* 的較大絕對值。例如,要設定 5% 的容許偏差,請傳遞 ``rel_tol=0.05``。預"
328
332
"設容許偏差是 ``1e-09``,它確保兩個值在大約 9 位十進制數字內相同。 *rel_tol* "
329
333
"必須大於零。"
330
334
331
- #: ../../library/cmath.rst:232
335
+ #: ../../library/cmath.rst:234
332
336
msgid ""
333
- "*abs_tol* is the minimum absolute tolerance -- useful for comparisons near "
334
- "zero. *abs_tol* must be at least zero."
337
+ "*abs_tol* is the absolute tolerance; it defaults to ``0.0`` and it must be "
338
+ "nonnegative. When comparing ``x`` to ``0.0``, ``isclose(x, 0)`` is computed "
339
+ "as ``abs(x) <= rel_tol * abs(x)``, which is ``False`` for any ``x`` and "
340
+ "rel_tol less than ``1.0``. So add an appropriate positive abs_tol argument "
341
+ "to the call."
335
342
msgstr ""
336
- "*abs_tol* 是最小絕對容許偏差 -- 對於接近零的比較很有用。 *abs_tol* 必須至少為"
337
- "零。"
338
343
339
- #: ../../library/cmath.rst:235
340
- msgid ""
341
- "If no errors occur, the result will be: ``abs(a-b) <= max(rel_tol * "
342
- "max(abs(a), abs(b)), abs_tol)``."
343
- msgstr ""
344
- "如果未發生錯誤,結果將為: ``abs(a-b) <= max(rel_tol * max(abs(a), abs(b)), "
345
- "abs_tol)``。"
346
-
347
- #: ../../library/cmath.rst:238
344
+ #: ../../library/cmath.rst:240
348
345
msgid ""
349
346
"The IEEE 754 special values of ``NaN``, ``inf``, and ``-inf`` will be "
350
347
"handled according to IEEE rules. Specifically, ``NaN`` is not considered "
@@ -355,49 +352,49 @@ msgstr ""
355
352
"體來說, ``NaN`` 不被認為接近任何其他值,包括 ``NaN``。 ``inf`` 和 ``-inf`` "
356
353
"只被認為是接近它們自己的。"
357
354
358
- #: ../../library/cmath.rst:247
355
+ #: ../../library/cmath.rst:249
359
356
msgid ":pep:`485` -- A function for testing approximate equality"
360
357
msgstr ":pep:`485` -- 一個用來測試近似相等的函式"
361
358
362
- #: ../../library/cmath.rst:251
359
+ #: ../../library/cmath.rst:253
363
360
msgid "Constants"
364
361
msgstr "常數"
365
362
366
- #: ../../library/cmath.rst:255
363
+ #: ../../library/cmath.rst:257
367
364
msgid "The mathematical constant *π*, as a float."
368
365
msgstr "數學常數 *π*,作為一個浮點數。"
369
366
370
- #: ../../library/cmath.rst:260
367
+ #: ../../library/cmath.rst:262
371
368
msgid "The mathematical constant *e*, as a float."
372
369
msgstr "數學常數 *e*,作為一個浮點數。"
373
370
374
- #: ../../library/cmath.rst:265
371
+ #: ../../library/cmath.rst:267
375
372
msgid "The mathematical constant *τ*, as a float."
376
373
msgstr "數學常數 *τ*,作為一個浮點數。"
377
374
378
- #: ../../library/cmath.rst:272
375
+ #: ../../library/cmath.rst:274
379
376
msgid "Floating-point positive infinity. Equivalent to ``float('inf')``."
380
377
msgstr "正無窮大的浮點數。相當於 ``float('inf')``。"
381
378
382
- #: ../../library/cmath.rst:279
379
+ #: ../../library/cmath.rst:281
383
380
msgid ""
384
381
"Complex number with zero real part and positive infinity imaginary part. "
385
382
"Equivalent to ``complex(0.0, float('inf'))``."
386
383
msgstr "實部為零和虛部為正無窮的複數。相當於 ``complex(0.0, float('inf'))``。"
387
384
388
- #: ../../library/cmath.rst:287
385
+ #: ../../library/cmath.rst:289
389
386
msgid ""
390
387
"A floating-point \" not a number\" (NaN) value. Equivalent to "
391
388
"``float('nan')``."
392
389
msgstr "浮點「非數字」 (NaN) 值。相當於 ``float('nan')``。"
393
390
394
- #: ../../library/cmath.rst:295
391
+ #: ../../library/cmath.rst:297
395
392
msgid ""
396
393
"Complex number with zero real part and NaN imaginary part. Equivalent to "
397
394
"``complex(0.0, float('nan'))``."
398
395
msgstr "實部為零和虛部為 NaN 的複數。相當於 ``complex(0.0, float('nan'))``。"
399
396
400
- #: ../../library/cmath.rst:303
397
+ #: ../../library/cmath.rst:305
401
398
msgid ""
402
399
"Note that the selection of functions is similar, but not identical, to that "
403
400
"in module :mod:`math`. The reason for having two modules is that some users "
@@ -413,7 +410,7 @@ msgstr ""
413
410
"sqrt(-1)`` 引發異常,也不願它回傳複數。另請注意, :mod:`cmath` 中所定義的函式"
414
411
"始終都會回傳複數,即使答案可以表示為實數(在這種情況下,複數的虛部為零)。"
415
412
416
- #: ../../library/cmath.rst:311
413
+ #: ../../library/cmath.rst:313
417
414
msgid ""
418
415
"A note on branch cuts: They are curves along which the given function fails "
419
416
"to be continuous. They are a necessary feature of many complex functions. "
@@ -428,17 +425,31 @@ msgstr ""
428
425
"所有關於複變函數的(不是太初級的)書籍以獲得啟發。對於如何正確地基於數值目的"
429
426
"選擇分枝切割的相關訊息,以下內容應該是一個很好的參考:"
430
427
431
- #: ../../library/cmath.rst:321
428
+ #: ../../library/cmath.rst:323
432
429
msgid ""
433
430
"Kahan, W: Branch cuts for complex elementary functions; or, Much ado about "
434
431
"nothing's sign bit. In Iserles, A., and Powell, M. (eds.), The state of the "
435
432
"art in numerical analysis. Clarendon Press (1987) pp165--211."
436
433
msgstr ""
437
434
438
- #: ../../library/cmath.rst:301
435
+ #: ../../library/cmath.rst:303
439
436
msgid "module"
440
437
msgstr "module(模組)"
441
438
442
- #: ../../library/cmath.rst:301
439
+ #: ../../library/cmath.rst:303
443
440
msgid "math"
444
441
msgstr "math(數學)"
442
+
443
+ #~ msgid ""
444
+ #~ "*abs_tol* is the minimum absolute tolerance -- useful for comparisons "
445
+ #~ "near zero. *abs_tol* must be at least zero."
446
+ #~ msgstr ""
447
+ #~ "*abs_tol* 是最小絕對容許偏差 -- 對於接近零的比較很有用。 *abs_tol* 必須至"
448
+ #~ "少為零。"
449
+
450
+ #~ msgid ""
451
+ #~ "If no errors occur, the result will be: ``abs(a-b) <= max(rel_tol * "
452
+ #~ "max(abs(a), abs(b)), abs_tol)``."
453
+ #~ msgstr ""
454
+ #~ "如果未發生錯誤,結果將為: ``abs(a-b) <= max(rel_tol * max(abs(a), "
455
+ #~ "abs(b)), abs_tol)``。"
0 commit comments