@@ -8,16 +8,16 @@ msgstr ""
8
8
"Project-Id-Version : Python 3.7\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
10
"POT-Creation-Date : 2018-06-26 18:54+0800\n "
11
- "PO-Revision-Date : 2018-11-07 16:57 +0800\n "
12
- "Last-Translator : Liang-Bo Wang <me@liang2.tw >\n "
11
+ "PO-Revision-Date : 2018-11-20 14:26 +0800\n "
12
+ "Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com >\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
14
14
"tw)\n "
15
15
"Language : zh_TW\n "
16
16
"MIME-Version : 1.0\n "
17
17
"Content-Type : text/plain; charset=UTF-8\n "
18
18
"Content-Transfer-Encoding : 8bit\n "
19
19
"Plural-Forms : nplurals=1; plural=0;\n "
20
- "X-Generator : Poedit 2.2 \n "
20
+ "X-Generator : Poedit 2.1.1 \n "
21
21
22
22
#: ../../tutorial/floatingpoint.rst:9
23
23
msgid "Floating Point Arithmetic: Issues and Limitations"
@@ -197,26 +197,40 @@ msgid ""
197
197
"It's important to realize that this is, in a real sense, an illusion: you're "
198
198
"simply rounding the *display* of the true machine value."
199
199
msgstr ""
200
+ "要了解一件很重要的事,在真正意義上,浮點數的表示是一種幻覺:你基本上在捨入真"
201
+ "正機器數值所\\ *展示的值*\\ 。"
200
202
201
203
#: ../../tutorial/floatingpoint.rst:114
202
204
msgid ""
203
205
"One illusion may beget another. For example, since 0.1 is not exactly 1/10, "
204
206
"summing three values of 0.1 may not yield exactly 0.3, either::"
205
207
msgstr ""
208
+ "這種幻覺可能會產生下一個幻覺。舉例來說,因為 0.1 不是真正的 1/10,把三個 0.1 "
209
+ "的值相加,也不會產生精準的 0.3:\n"
210
+ "\n"
211
+ "::"
206
212
207
213
#: ../../tutorial/floatingpoint.rst:120
208
214
msgid ""
209
215
"Also, since the 0.1 cannot get any closer to the exact value of 1/10 and 0.3 "
210
216
"cannot get any closer to the exact value of 3/10, then pre-rounding with :"
211
217
"func:`round` function cannot help::"
212
218
msgstr ""
219
+ "同時,因為 0.1 不能再更接近精準的 1/10,還有 0.3 不能再更接近精準的 3/10,預"
220
+ "先用 :func:`round` 函式捨入並不會有幫助:\n"
221
+ "\n"
222
+ "::"
213
223
214
224
#: ../../tutorial/floatingpoint.rst:127
215
225
msgid ""
216
226
"Though the numbers cannot be made closer to their intended exact values, "
217
227
"the :func:`round` function can be useful for post-rounding so that results "
218
228
"with inexact values become comparable to one another::"
219
229
msgstr ""
230
+ "雖然數字不會再更接近他們的精準數值,但 :func:`round` 函式可以對事後的捨入有所"
231
+ "幫助,如此一來,不精確的數值就變得可以互相比較:\n"
232
+ "\n"
233
+ "::"
220
234
221
235
#: ../../tutorial/floatingpoint.rst:134
222
236
msgid ""
@@ -226,6 +240,9 @@ msgid ""
226
240
"www.lahey.com/float.htm>`_ for a more complete account of other common "
227
241
"surprises."
228
242
msgstr ""
243
+ "二進位浮點數架構擁有很多這樣的驚喜。底下的「表示法錯誤」章節,詳細的解釋了"
244
+ "「0.1」的問題。如果想要其他常見驚喜更完整的描述,可以參考 `The Perils of "
245
+ "Floating Point(浮點數的風險) <http://www.lahey.com/float.htm>`_。"
229
246
230
247
#: ../../tutorial/floatingpoint.rst:139
231
248
msgid ""
0 commit comments