Skip to content

Commit 8636568

Browse files
author
github-actions
committed
Merge 3.14 into 3.11
1 parent e34d5d3 commit 8636568

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

faq/design.po

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ msgid ""
6565
" y--;\n"
6666
"z++;"
6767
msgstr ""
68+
"if (x <= y)\n"
69+
" x++;\n"
70+
" y--;\n"
71+
"z++;"
6872

6973
#: ../../faq/design.rst:26
7074
msgid ""
@@ -130,16 +134,18 @@ msgid ""
130134
">>> 1.2 - 1.0\n"
131135
"0.19999999999999996"
132136
msgstr ""
137+
">>> 1.2 - 1.0\n"
138+
"0.19999999999999996"
133139

134140
#: ../../faq/design.rst:61
135141
msgid ""
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."
139145
msgstr ""
140-
"そしてこれが Python のバグだと考えます。が、これはバグではありません。この結"
141-
"果に Python はほとんど関与しておらず、むしろ基底のプラットフォームによる浮動"
142-
"小数点数の扱い方が関与しています。"
146+
"Python のバグと考えるかもしれませんが、そうではありません。 この結果に "
147+
"Python はほとんど影響しておらず、むしろ大きく関係しているのは下敷きとしている"
148+
"プラットフォームによる浮動小数点数の扱い方です。"
143149

144150
#: ../../faq/design.rst:65
145151
msgid ""
@@ -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."
152158
msgstr ""
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
160167
msgid ""
161168
"Many numbers that can be written easily in decimal notation cannot be "
162169
"expressed exactly in binary floating point. For example, after::"
163170
msgstr ""
171+
"10 進数表記で簡単に表せる数値でも、その多くは 2 進浮動小数点数で正確に表現で"
172+
"きません。 次に例を挙げます::"
164173

165174
#: ../../faq/design.rst:75
166175
msgid ">>> x = 1.2"

howto/descriptor.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1812,7 +1812,7 @@ msgid ""
18121812
"fixed-length array of slot values. From a user point of view that has "
18131813
"several effects:"
18141814
msgstr ""
1815-
"クラスが ``__slots__`` を定義すると、インスタンスの辞書が固定超のスロットの値"
1815+
"クラスが ``__slots__`` を定義すると、インスタンスの辞書が固定長のスロットの値"
18161816
"の配列と置き換えられます。ユーザーの目線からみると、いくつかの変化がありま"
18171817
"す。"
18181818

0 commit comments

Comments
 (0)