66# Translators:
77# tomo, 2021
88# Takanori Suzuki <takanori@takanory.net>, 2023
9+ # TENMYO Masakazu, 2023
910#
1011#, fuzzy
1112msgid ""
@@ -14,7 +15,7 @@ msgstr ""
1415"Report-Msgid-Bugs-To : \n "
1516"POT-Creation-Date : 2023-10-06 14:14+0000\n "
1617"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 "
1819"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
1920"ja/)\n "
2021"MIME-Version : 1.0\n "
@@ -213,12 +214,14 @@ msgid ""
213214"Though the numbers cannot be made closer to their intended exact values, "
214215"the :func:`math.isclose` function can be useful for comparing inexact values:"
215216msgstr ""
217+ "数値を意図した正確な値に近づけることはできませんが、 :func:`math.isclose` 関"
218+ "数は不正確な値を比べるのに便利です: "
216219
217220#: ../../tutorial/floatingpoint.rst:139
218221msgid ""
219222"Alternatively, the :func:`round` function can be used to compare rough "
220223"approximations::"
221- msgstr ""
224+ msgstr "あるいは、 :func:`round` 関数を粗い近似値比較に使うこともできます:: "
222225
223226#: ../../tutorial/floatingpoint.rst:147
224227msgid ""
@@ -231,6 +234,13 @@ msgid ""
231234"Point <https://www.lahey.com/float.htm>`_ for a more complete account of "
232235"other common surprises."
233236msgstr ""
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+ "参照してください。"
234244
235245#: ../../tutorial/floatingpoint.rst:156
236246msgid ""
@@ -344,6 +354,10 @@ msgid ""
344354"difference in overall accuracy so that the errors do not accumulate to the "
345355"point where they affect the final total:"
346356msgstr ""
357+ "別の便利なツールとして、合計処理における精度のロスを緩和してくれる :func:"
358+ "`sum` 関数があります。これは累計加算中の丸めに拡張精度を使います。これによ"
359+ "り、誤差が最終的な合計値に影響を与えるまで蓄積されなくなり、結果が改善されま"
360+ "す:"
347361
348362#: ../../tutorial/floatingpoint.rst:233
349363msgid ""
@@ -353,6 +367,10 @@ msgid ""
353367"in uncommon cases where large magnitude inputs mostly cancel each other out "
354368"leaving a final sum near zero:"
355369msgstr ""
370+ ":func:`math.fsum()` はさらに進んで、累計の加算時に「失われた桁」をすべて追跡"
371+ "し、結果の丸めは一度だけです。これは :func:`sum` より遅いものの、大きな入力が"
372+ "ほとんど相殺され、最終的な合計がゼロに近くなるような珍しいケースでは、より正"
373+ "確です:"
356374
357375#: ../../tutorial/floatingpoint.rst:260
358376msgid "Representation Error"
@@ -391,6 +409,13 @@ msgid ""
391409"fraction it can of the form *J*/2**\\ *N* where *J* is an integer containing "
392410"exactly 53 bits. Rewriting ::"
393411msgstr ""
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 ビットの精度の整数です。 ::"
394419
395420#: ../../tutorial/floatingpoint.rst:282
396421msgid "as ::"
0 commit comments