Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update library/math.po
Co-authored-by: Payon <[email protected]>
  • Loading branch information
Carisa-Li and ken71301 authored Nov 9, 2024
commit 76d05a06a35eac786510522516fbe54d56c5751e
2 changes: 1 addition & 1 deletion library/math.po
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ msgstr ""
"回傳 *x* 對 *y* 根據 IEEE 754 定義的餘數。對有限數 *x* 及有限非零數 *y*,該餘"
"數值為 ``x - n*y``,``n`` 是最接近 ``x / y`` 精確值的整數。若 ``x / y`` 剛好"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

quotient 沒翻到,然後這句也沒有精確度歐

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我是將the exact value of the quotient x / y合翻為x / y精確值
quotient主要是擔心商可能會誤解為僅指運算結果的整數部分,這部分我會再思考一下

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

這邊的 difference 應該不是餘數?
看起來比較接近
"這是 x - n*y 的另一種寫法" 之類的

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

因為上一句定義了x,y兩數,所以我將this翻為該餘數值與第一句的根據 IEEE 754 定義的餘數對應,此處的difference我想應該是指差(減法運算的結果),這部分我會再想一下

"位於兩個連續整數的正中間,``n`` 為最接近的 *偶* 數。因此該餘數 ``r = "
"remainder(x, y)`` 必滿足 ``abs(r) <= 0.5 * abs(y)``。"
"remainder(x, y)`` 總是滿足 ``abs(r) <= 0.5 * abs(y)``。"

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