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

Appearance settings

Translate one more part of floatingpoint.po #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 20, 2018
Merged
Changes from all commits
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
19 changes: 18 additions & 1 deletion 19 tutorial/floatingpoint.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: Python 3.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-26 18:54+0800\n"
"PO-Revision-Date: 2018-11-07 16:57+0800\n"
"PO-Revision-Date: 2018-11-18 00:47+0800\n"
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
Expand Down Expand Up @@ -197,26 +197,40 @@ msgid ""
"It's important to realize that this is, in a real sense, an illusion: you're "
"simply rounding the *display* of the true machine value."
msgstr ""
"要了解一件很重要的事,在真正意義上,浮點數的表示是一種幻覺:你基本上在捨入真"
"正機器數值所\\ *展示的值*\\ 。"

#: ../../tutorial/floatingpoint.rst:114
msgid ""
"One illusion may beget another. For example, since 0.1 is not exactly 1/10, "
"summing three values of 0.1 may not yield exactly 0.3, either::"
msgstr ""
"這種幻覺可能會產生下一個幻覺。舉例來說,因為 0.1 不是真正的 1/10,把三個 0.1 "
"的值相加,也不會產生精準的 0.3:\n"
"\n"
"::"

#: ../../tutorial/floatingpoint.rst:120
msgid ""
"Also, since the 0.1 cannot get any closer to the exact value of 1/10 and 0.3 "
"cannot get any closer to the exact value of 3/10, then pre-rounding with :"
"func:`round` function cannot help::"
msgstr ""
"同時,因為 0.1 不能再更接近精準的 1/10,還有 0.3 不能再更接近精準的 3/10,預"
"先用 :func:`round` 函式捨入並不會有幫助:\n"
"\n"
adrianliaw marked this conversation as resolved.
Show resolved Hide resolved
"::"

#: ../../tutorial/floatingpoint.rst:127
msgid ""
"Though the numbers cannot be made closer to their intended exact values, "
"the :func:`round` function can be useful for post-rounding so that results "
"with inexact values become comparable to one another::"
msgstr ""
"雖然數字不會再更接近他們的精準數值,但 :func:`round` 函式可以對事後的捨入有所"
"幫助,如此一來,不精確的數值就變得可以互相比較:\n"
"\n"
"::"

#: ../../tutorial/floatingpoint.rst:134
msgid ""
Expand All @@ -226,6 +240,9 @@ msgid ""
"www.lahey.com/float.htm>`_ for a more complete account of other common "
"surprises."
msgstr ""
"二進位浮點數架構擁有很多這樣的驚喜。底下的「表示法錯誤」章節,詳細的解釋了"
"「0.1」的問題。如果想要其他常見驚喜更完整的描述,可以參考 `浮點數的危險 "
"<http://www.lahey.com/float.htm>`_。"

#: ../../tutorial/floatingpoint.rst:139
msgid ""
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.