Skip to content

Commit

Permalink
rst: 87-102, 239-374
Browse files Browse the repository at this point in the history
  • Loading branch information
Carisa-Li committed Oct 21, 2024
1 parent cf82202 commit ef0e053
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions library/math.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-03-14 00:03+0000\n"
"PO-Revision-Date: 2024-10-06 23:31+0800\n"
"PO-Revision-Date: 2024-10-21 23:50+0800\n"
"Last-Translator: Adrian Liaw <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
Expand Down Expand Up @@ -114,7 +114,6 @@ msgstr ""
"以整數回傳 *n* 的階乘。若 *n* 非整數型別或其值為負會引發 :exc:`ValueError`。"

#: ../../library/math.rst:74
#, fuzzy
msgid "Floats with integral values (like ``5.0``) are no longer accepted."
msgstr "允許傳入其值為整數的浮點數(如:``5.0``)已被棄用。"

Expand All @@ -135,6 +134,8 @@ msgid ""
"``float`` format. This operation often provides better accuracy than the "
"direct expression ``(x * y) + z``."
msgstr ""
"融合乘加運算。回傳 ``(x * y) + z``,用近似於無限精度及範圍的方式計算,而後一"
"次轉換為浮點數格式。此操作通常能提供比運算式 ``(x * y) + z`` 更高的精度。"

#: ../../library/math.rst:92
msgid ""
Expand All @@ -144,6 +145,9 @@ msgid ""
"``fma(inf, 0, nan)``. In these cases, ``math.fma`` returns a NaN, and does "
"not raise any exception."
msgstr ""
"此函式遵循 IEEE-754 標準中規範的融合乘加(fusedMultiplyAdd)運算。該標準保留"
"一種由實作環境決定的案例,即 ``fma(0, inf, nan)`` 和 ``fma(inf, 0, nan)`` 的"
"結果;在此案例中,``math.fma`` 回傳 ``NaN`` 且不會引發例外。"

#: ../../library/math.rst:103
msgid ""
Expand Down Expand Up @@ -442,9 +446,9 @@ msgid ""
"remainder operation is zero, that zero will have the same sign as *x*."
msgstr ""
"特殊情況遵循 IEEE 754:特別是,對任何有限數 *x*,``remainder(x, math.inf)`` "
"值為 *x*;對任何非 NaN 值 *x*,``remainder(x, 0)`` 及 ``remainder(math.inf, "
"x)`` 會引發 :exc:`ValueError`。若取餘數操作的結果為零,則該零值會與 *x* "
"。"
"值為 *x*;對任何非 ``NaN`` 值 *x*,``remainder(x, 0)`` 及 ``remainder(math."
"inf, x)`` 會引發 :exc:`ValueError`。若取餘數操作的結果為零,則該零值會與 *x* "
"同號。"

#: ../../library/math.rst:307
msgid ""
Expand Down

0 comments on commit ef0e053

Please sign in to comment.