@@ -65,6 +65,10 @@ msgid ""
6565" y--;\n"
6666"z++;"
6767msgstr ""
68+ "if (x <= y)\n"
69+ " x++;\n"
70+ " y--;\n"
71+ "z++;"
6872
6973#: ../../faq/design.rst:26
7074msgid ""
@@ -130,16 +134,18 @@ msgid ""
130134">>> 1.2 - 1.0\n"
131135"0.19999999999999996"
132136msgstr ""
137+ ">>> 1.2 - 1.0\n"
138+ "0.19999999999999996"
133139
134140#: ../../faq/design.rst:61
135141msgid ""
136142"and think it is a bug in Python. It's not. This has little to do with "
137143"Python, and much more to do with how the underlying platform handles "
138144"floating-point numbers."
139145msgstr ""
140- "そしてこれが Python のバグだと考えます。が、これはバグではありません。この結 "
141- "果に Python はほとんど関与しておらず、むしろ基底のプラットフォームによる浮動 "
142- "小数点数の扱い方が関与しています 。"
146+ "Python のバグと考えるかもしれませんが、そうではありません。 この結果に "
147+ "Python はほとんど影響しておらず、むしろ大きく関係しているのは下敷きとしている "
148+ "プラットフォームによる浮動小数点数の扱い方です 。"
143149
144150#: ../../faq/design.rst:65
145151msgid ""
@@ -150,17 +156,20 @@ msgid ""
150156"point operations. This means that as far as floating-point operations are "
151157"concerned, Python behaves like many popular languages including C and Java."
152158msgstr ""
153- "CPython における :class:`float` 型は記憶に C 言語の ``double`` 型を使いま"
154- "す。 :class:`float` オブジェクトの値は固定精度 (典型的には 53 bit) の 2 進浮"
155- "動小数点数として格納され、 Python はプロセッサのハードウェアが実装している C "
156- "言語上の演算を使います。つまり、浮動小数点数に関して Python は C 言語や Java "
157- "のような多くの一般的な言語と同じように振る舞います。"
159+ "CPython における :class:`float` 型は C 言語の ``double`` 型をデータ格納先に使"
160+ "います。 :class:`float` オブジェクトの値は固定精度 (典型的には 53 bit) の 2 "
161+ "進浮動小数点数で格納されます。 そして Python は浮動小数点演算を行うために C "
162+ "の演算を使いますが、これはプロセッサのハードウェア実装に依存します。つまり、"
163+ "浮動小数点数に関して Python は C 言語や Java を含む多くの一般的な言語と同じよ"
164+ "うに振る舞います。"
158165
159166#: ../../faq/design.rst:72
160167msgid ""
161168"Many numbers that can be written easily in decimal notation cannot be "
162169"expressed exactly in binary floating point. For example, after::"
163170msgstr ""
171+ "10 進数表記で簡単に表せる数値でも、その多くは 2 進浮動小数点数で正確に表現で"
172+ "きません。 次に例を挙げます::"
164173
165174#: ../../faq/design.rst:75
166175msgid ">>> x = 1.2"
0 commit comments