@@ -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 : 2016-11-19 00:37+0000 \n "
11
+ "PO-Revision-Date : 2018-10-16 16:15+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 "
@@ -17,28 +17,37 @@ msgstr ""
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
21
21
22
#: ../../tutorial/floatingpoint.rst:9
22
23
msgid "Floating Point Arithmetic: Issues and Limitations"
23
- msgstr ""
24
+ msgstr "浮點數運算:問題與限制 "
24
25
25
26
#: ../../tutorial/floatingpoint.rst:14
26
27
msgid ""
27
28
"Floating-point numbers are represented in computer hardware as base 2 "
28
29
"(binary) fractions. For example, the decimal fraction ::"
29
30
msgstr ""
31
+ "在計算機架構中,浮點數透過二進位小數表示。例如說,在十進位小數中:\n"
32
+ "\n"
33
+ "::"
30
34
31
35
#: ../../tutorial/floatingpoint.rst:19
32
36
msgid ""
33
37
"has value 1/10 + 2/100 + 5/1000, and in the same way the binary fraction ::"
34
38
msgstr ""
39
+ "可被分為 1/10 + 2/100 + 5/1000,同樣的道理,二進位小數 :\n"
40
+ "\n"
41
+ "::"
35
42
36
43
#: ../../tutorial/floatingpoint.rst:23
37
44
msgid ""
38
45
"has value 0/2 + 0/4 + 1/8. These two fractions have identical values, the "
39
46
"only real difference being that the first is written in base 10 fractional "
40
47
"notation, and the second in base 2."
41
48
msgstr ""
49
+ "可被分為 0/2 + 0/4 + 1/8。這兩個小數有相同的數值,而唯一真正的不同在於前者以"
50
+ "十進位表示,後者以二進位表示。"
42
51
43
52
#: ../../tutorial/floatingpoint.rst:27
44
53
msgid ""
@@ -47,30 +56,45 @@ msgid ""
47
56
"point numbers you enter are only approximated by the binary floating-point "
48
57
"numbers actually stored in the machine."
49
58
msgstr ""
59
+ "不幸的是,大多數十進位小數無法精準地以二進位小數表示。一般的結果為,您輸入的"
60
+ "十進位浮點數由實際存在計算機中的二進位浮點數近似。"
50
61
51
62
#: ../../tutorial/floatingpoint.rst:32
52
63
msgid ""
53
64
"The problem is easier to understand at first in base 10. Consider the "
54
65
"fraction 1/3. You can approximate that as a base 10 fraction::"
55
66
msgstr ""
67
+ "在十進位中,這個問題更容易被理解。以分數 1/3 為例,您可以將其近似為十進位小"
68
+ "數:\n"
69
+ "\n"
70
+ "::"
56
71
57
72
#: ../../tutorial/floatingpoint.rst:37 ../../tutorial/floatingpoint.rst:41
58
73
msgid "or, better, ::"
59
74
msgstr ""
75
+ "或者,更好的近似:\n"
76
+ "\n"
77
+ "::"
60
78
61
79
#: ../../tutorial/floatingpoint.rst:45
62
80
msgid ""
63
81
"and so on. No matter how many digits you're willing to write down, the "
64
82
"result will never be exactly 1/3, but will be an increasingly better "
65
83
"approximation of 1/3."
66
84
msgstr ""
85
+ "依此類推,不論你使用多少位數表示小數,最後的結果都無法精準地表示 1/3,但你還"
86
+ "是能越來越精準地表示 1/3。"
67
87
68
88
#: ../../tutorial/floatingpoint.rst:49
69
89
msgid ""
70
90
"In the same way, no matter how many base 2 digits you're willing to use, the "
71
91
"decimal value 0.1 cannot be represented exactly as a base 2 fraction. In "
72
92
"base 2, 1/10 is the infinitely repeating fraction ::"
73
93
msgstr ""
94
+ "同樣的道理,不論你願意以多少位數表示二進位小數,十進位小數 0.1 都無法被二進位"
95
+ "小數精準地表達。在二進位小數中, 1/10 會是一個無限循環小數:\n"
96
+ "\n"
97
+ "::"
74
98
75
99
#: ../../tutorial/floatingpoint.rst:55
76
100
msgid ""
0 commit comments