@@ -8,7 +8,7 @@ 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 "
11
+ "PO-Revision-Date : 2018-11-08 11:06 +0800\n "
12
12
"Last-Translator : Liang-Bo Wang <me@liang2.tw>\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
14
14
"tw)\n "
@@ -197,26 +197,41 @@ 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 不會為再更接近精準的 "
220
+ "3/10,預先用 :func:`round`\\ 函式捨入並不會有幫助:\n"
221
+ "\n"
222
+ "\n"
223
+ "::"
213
224
214
225
#: ../../tutorial/floatingpoint.rst:127
215
226
msgid ""
216
227
"Though the numbers cannot be made closer to their intended exact values, "
217
228
"the :func:`round` function can be useful for post-rounding so that results "
218
229
"with inexact values become comparable to one another::"
219
230
msgstr ""
231
+ "雖然數字不會再更接近他們的精準數值,但 :func:`round` 函式可以對事後的捨入有所"
232
+ "幫助,如此一來,不精確的數值就變得可以互相比較:\n"
233
+ "\n"
234
+ "::"
220
235
221
236
#: ../../tutorial/floatingpoint.rst:134
222
237
msgid ""
@@ -226,6 +241,9 @@ msgid ""
226
241
"www.lahey.com/float.htm>`_ for a more complete account of other common "
227
242
"surprises."
228
243
msgstr ""
244
+ "二進位浮點數架構擁有很多這樣的驚喜。底下的「表示法錯誤」章節,詳細的解釋了"
245
+ "「0.1」的問題。如果想要更多其他常見驚喜的完整資料,可以參考 `浮點數的危險 "
246
+ "<http://www.lahey.com/float.htm>`_。"
229
247
230
248
#: ../../tutorial/floatingpoint.rst:139
231
249
msgid ""
0 commit comments