Skip to content
Prev Previous commit
Next Next commit
fix isclose
  • Loading branch information
Carisa-Li committed Apr 26, 2024
commit dcd960a25d7e17804d80b85cf5cbbcca07c9c729
14 changes: 8 additions & 6 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.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-03-14 00:03+0000\n"
"PO-Revision-Date: 2024-04-26 14:35+0800\n"
"PO-Revision-Date: 2024-04-26 15:15+0800\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
Expand Down Expand Up @@ -219,7 +219,7 @@ msgstr "若 *a* 及 *b* 兩值足夠接近便回傳 ``True``,否則回傳 ``Fa
msgid ""
"Whether or not two values are considered close is determined according to "
"given absolute and relative tolerances."
msgstr "兩數是否足夠接近取決於給定的絕對及相對容差。"
msgstr "兩數是否足夠接近取決於給定的絕對及相對容許偏差(tolerance)。"

#: ../../library/math.rst:147
msgid ""
Expand All @@ -229,16 +229,18 @@ msgid ""
"tolerance is ``1e-09``, which assures that the two values are the same "
"within about 9 decimal digits. *rel_tol* must be greater than zero."
msgstr ""
"*rel_tol* 為相對容差 ── *a* 與 *b* 兩數差的最大容許值,與 *a* 及 *b* 兩數的絕"
"對值中較大者相關。例如欲設置 5% 的誤差,則傳入 ``rel_tol=0.05``。其預設值為 "
"``1e-09``,該值可確保兩數於大約 9 個十進數位內相同。*rel_tol* 須大於 ``0``。"
"*rel_tol* 為相對容許偏差 ── *a* 與 *b* 兩數差的最大容許值,與 *a* 及 *b* 兩數"
"的絕對值中較大者相關。例如欲設置 5% 的容許偏差,則傳入 ``rel_tol=0.05``。其預"
"設值為 ``1e-09``,該值可確保兩數於大約 9 個十進數位內相同。*rel_tol* 須大於 "
"``0``。"

#: ../../library/math.rst:153
msgid ""
"*abs_tol* is the minimum absolute tolerance -- useful for comparisons near "
"zero. *abs_tol* must be at least zero."
msgstr ""
"*abs_tol* 為最小絕對容差 ── 於接近零的比較時很有用。*abs_tol* 須大於 ``0``。"
"*abs_tol* 為最小絕對容許偏差 ── 於接近零的比較時很有用。*abs_tol* 須大於等於 "
"``0``。"

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