6
6
# Translators:
7
7
# tomo, 2021
8
8
# Takanori Suzuki <takanori@takanory.net>, 2023
9
+ # TENMYO Masakazu, 2023
9
10
#
10
11
#, fuzzy
11
12
msgid ""
@@ -14,7 +15,7 @@ msgstr ""
14
15
"Report-Msgid-Bugs-To : \n "
15
16
"POT-Creation-Date : 2023-10-06 14:14+0000\n "
16
17
"PO-Revision-Date : 2021-06-28 01:50+0000\n "
17
- "Last-Translator : Takanori Suzuki <takanori@takanory.net> , 2023\n "
18
+ "Last-Translator : TENMYO Masakazu , 2023\n "
18
19
"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
19
20
"ja/)\n "
20
21
"MIME-Version : 1.0\n "
@@ -213,12 +214,14 @@ msgid ""
213
214
"Though the numbers cannot be made closer to their intended exact values, "
214
215
"the :func:`math.isclose` function can be useful for comparing inexact values:"
215
216
msgstr ""
217
+ "数値を意図した正確な値に近づけることはできませんが、 :func:`math.isclose` 関"
218
+ "数は不正確な値を比べるのに便利です: "
216
219
217
220
#: ../../tutorial/floatingpoint.rst:139
218
221
msgid ""
219
222
"Alternatively, the :func:`round` function can be used to compare rough "
220
223
"approximations::"
221
- msgstr ""
224
+ msgstr "あるいは、 :func:`round` 関数を粗い近似値比較に使うこともできます:: "
222
225
223
226
#: ../../tutorial/floatingpoint.rst:147
224
227
msgid ""
@@ -231,6 +234,13 @@ msgid ""
231
234
"Point <https://www.lahey.com/float.htm>`_ for a more complete account of "
232
235
"other common surprises."
233
236
msgstr ""
237
+ "このように2進数の浮動小数点の演算には多くの驚きがあります。「0.1」の問題につ"
238
+ "いて詳しい説明は、「表現エラー」セクションで行います。2進数の浮動小数点の仕組"
239
+ "みと、実際によく遭遇する問題各種についての分かりやすい概要は、 `Examples of "
240
+ "Floating Point Problems <https://jvns.ca/blog/2023/01/13/examples-of-"
241
+ "floating-point-problems/>`_ を参照してください。その他よくある驚きの より詳細"
242
+ "な説明は `The Perils of Floating Point <https://www.lahey.com/float.htm>`_ も"
243
+ "参照してください。"
234
244
235
245
#: ../../tutorial/floatingpoint.rst:156
236
246
msgid ""
@@ -344,6 +354,10 @@ msgid ""
344
354
"difference in overall accuracy so that the errors do not accumulate to the "
345
355
"point where they affect the final total:"
346
356
msgstr ""
357
+ "別の便利なツールとして、合計処理における精度のロスを緩和してくれる :func:"
358
+ "`sum` 関数があります。これは累計加算中の丸めに拡張精度を使います。これによ"
359
+ "り、誤差が最終的な合計値に影響を与えるまで蓄積されなくなり、結果が改善されま"
360
+ "す:"
347
361
348
362
#: ../../tutorial/floatingpoint.rst:233
349
363
msgid ""
@@ -353,6 +367,10 @@ msgid ""
353
367
"in uncommon cases where large magnitude inputs mostly cancel each other out "
354
368
"leaving a final sum near zero:"
355
369
msgstr ""
370
+ ":func:`math.fsum()` はさらに進んで、累計の加算時に「失われた桁」をすべて追跡"
371
+ "し、結果の丸めは一度だけです。これは :func:`sum` より遅いものの、大きな入力が"
372
+ "ほとんど相殺され、最終的な合計がゼロに近くなるような珍しいケースでは、より正"
373
+ "確です:"
356
374
357
375
#: ../../tutorial/floatingpoint.rst:260
358
376
msgid "Representation Error"
@@ -391,6 +409,13 @@ msgid ""
391
409
"fraction it can of the form *J*/2**\\ *N* where *J* is an integer containing "
392
410
"exactly 53 bits. Rewriting ::"
393
411
msgstr ""
412
+ "なぜそうなるのでしょう? 1/10 は2進法の小数で厳密に表現できません。少なくと"
413
+ "も2000年以降、ほぼすべてのマシンは IEEE 754 2進数の浮動小数点演算を用いてお"
414
+ "り、ほぼすべてのプラットフォームでは Python の浮動小数点を IEEE 754 binary64 "
415
+ "\" 倍精度 (double precision)\" 値に対応付けます。 IEEE 754 binary64 値は 53 "
416
+ "ビットの精度を持つため、計算機に入力を行おうとすると、可能な限り 0.1 を最も近"
417
+ "い値の分数に変換し、*J*/2**\\ *N* の形式にしようと努力します。*J* はちょうど "
418
+ "53 ビットの精度の整数です。 ::"
394
419
395
420
#: ../../tutorial/floatingpoint.rst:282
396
421
msgid "as ::"
0 commit comments