Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5a0038c

Browse files
committed
fix rst: 30-101
1 parente93753c commit5a0038c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎library/math.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgstr ""
88
"Project-Id-Version:Python 3.12\n"
99
"Report-Msgid-Bugs-To:\n"
1010
"POT-Creation-Date:2023-07-17 17:39+0800\n"
11-
"PO-Revision-Date:2024-01-31 17:12+0800\n"
11+
"PO-Revision-Date:2024-02-05 16:30+0800\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1414
"tw)\n"
@@ -146,10 +146,10 @@ msgstr ""
146146
"``x % y`` 可能會回傳不同結果。C 標準要求 ``fmod(x, y)`` 的回傳值完全等同(數"
147147
"學定義上,即無限精度)於 ``x - n*y``,*n* 為可使回傳值與 *x* 同號且長度小於 "
148148
"``abs(y)`` 的整數。Python 運算式 ``x % y`` 的回傳值則與 *y* 同號,且可能無法"
149-
"精確地計算浮點數參數。例如:``fmod(-1e-100, 1e100)`` 的值為 ``-1e-100``,但運"
150-
"算式``-1e-100 % 1e100`` 的結果為 ``1e100-1e-100``,此值無法準確地表示成浮點"
151-
",並會四捨五入為出乎意料的 ``1e100``。因此,處理浮點數時通常會選擇函式 :"
152-
"func:`fmod`,而處理整數時會選擇運算式 ``x % y``。"
149+
"精確地計算浮點數引數。例如:``fmod(-1e-100, 1e100)`` 的值為 ``-1e-100``,"
150+
"Python 運算式``-1e-100 % 1e100`` 的結果為 ``1e100-1e-100``,此值無法準確地表"
151+
"示成浮點數,並會四捨五入為出乎意料的 ``1e100``。因此,處理浮點數時通常會選擇"
152+
"函式 :func:`fmod`,而處理整數時會選擇 Python 運算式 ``x % y``。"
153153

154154
#:../../library/math.rst:102
155155
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp