-
-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Translate library/math.po rst: 102-222 #872
Conversation
PR 頁面上看得到除 0db8785 以外的所有 commits 都是舊的 commits(來自過去的 PR),麻煩請先 rebase 到最新的 3.12 branch 上(PR 頁面不應該出現舊的 commits),若不確定怎麼做的話再請你到 discord 找大家討論,感謝 |
謝謝,試著處理完了 |
@Carisa-Li 沒有成功歐,commit 頁面 還看得到很多舊的 commits |
Co-authored-by: Wei-Hsiang (Matt) Wang <[email protected]>
Co-authored-by: Wei-Hsiang (Matt) Wang <[email protected]>
Co-authored-by: Wei-Hsiang (Matt) Wang <[email protected]>
Co-authored-by: Wei-Hsiang (Matt) Wang <[email protected]>
Co-authored-by: Wei-Hsiang (Matt) Wang <[email protected]>
@@ -173,13 +178,18 @@ msgid "" | |||
"occasionally double-round an intermediate sum causing it to be off in its " | |||
"least significant bit." | |||
msgstr "" | |||
"此演算法準確性奠基於保證 IEEE-754 浮點標準及典型奇進偶捨(half-even)模式。於" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
arithmetic 是不是沒翻到啊
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
此部分因IEEE-754標準即是用來規範浮點數的運算,所以我認為不用特意在寫出運算。
@@ -173,13 +178,18 @@ msgid "" | |||
"occasionally double-round an intermediate sum causing it to be off in its " | |||
"least significant bit." | |||
msgstr "" | |||
"此演算法準確性奠基於保證 IEEE-754 浮點標準及典型奇進偶捨(half-even)模式。於" | |||
"有些非 Windows 平台建置時,底層 C 函式庫使用延伸精度加法運算,而可能導致對過" | |||
"程中同一部分和重複捨入,並使其最低有效位不如預期。" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
這邊是 intermediate sum 沒有 partial 吧?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
因為前面intermediate partial sums譯為過程中的部分和,為了前後一致所以此處亦譯為部分和。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我看了一下原文我沒辦法完全確定兩個是指同一個東西的說...
第一句的 Avoids loss of precision by tracking multiple intermediate partial sums 像是在指 藉由追蹤部分的中間和來避免xxxx
這一句的好像就沒有部分的意思在裡面
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
library/math.po
Outdated
@@ -216,18 +229,24 @@ 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* 兩數的絕" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tolerance 後面好像被翻成 容許偏差
了 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已與cmath統一用詞
library/math.po
Outdated
|
||
#: ../../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``。" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
at least zero 至少是0,應該是大於等於 0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已修正
Co-authored-by: Payon <[email protected]>
雖然isclose()的文件寫rel_tol must be greater than zero,但剛剛實測發現傳入0仍可正常運作,那麼翻譯還是要翻為大於嗎? |
我是覺得先照著原文翻,要改也得等原文修了再改 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM~
No description provided.