Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 929a9ad commit 0f159bdCopy full SHA for 0f159bd
1 file changed
tutorial/floatingpoint.po
@@ -194,6 +194,8 @@ msgid ""
194
"<http://www.lahey.com/float.htm>`_ for a more complete account of other "
195
"common surprises."
196
msgstr ""
197
+"二进制浮点运算会造成许多这样的“意外”。 有关 \"0.1\" 的问题会在下面的“表示性错误”一节中更详细地描述。 请参阅 `浮点数的危险性 "
198
+"<http://www.lahey.com/float.htm>`_ 一文了解有关其他常见意外现象的更详细介绍。"
199
200
#: ../../tutorial/floatingpoint.rst:139
201
msgid ""
@@ -205,6 +207,9 @@ msgid ""
205
207
"decimal arithmetic and that every float operation can suffer a new rounding "
206
208
"error."
209
210
+"正如那篇文章的结尾所言,“对此问题并无简单的答案。” 但是也不必过于担心浮点数的问题! Python "
211
+"浮点运算中的错误是从浮点运算硬件继承而来,而在大多数机器上每次浮点运算得到的 2\\*\\*53 数码位都会被作为 1 个整体来处理。 "
212
+"这对大多数任务来说都已足够,但你确实需要记住它并非十进制算术,且每次浮点运算都可能会导致新的舍入错误。"
213
214
#: ../../tutorial/floatingpoint.rst:146
215
0 commit comments