File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -2442,21 +2442,32 @@ msgid ""
2442
2442
"``pow(inv_base, -exp, mod)`` is returned, where *inv_base* is an inverse to "
2443
2443
"*base* modulo *mod*."
2444
2444
msgstr ""
2445
+ "*base* と *exp* が :class:`int` オペランドで *mod* が存在するとき、 *mod* も"
2446
+ "また整数型でなければならず、かつゼロであってはいけません。 *mod* が存在して "
2447
+ "*exp* が負の整数の場合、 *base* は *mod* と互いに素 (最大公約数が1) でなけれ"
2448
+ "ばなりません。この場合、 *inv_base* を *base* に対する *mod* を法とするモジュ"
2449
+ "ラ逆数 (*base* と *inv_base* の積を *mod* で割った余りが1になるような数) とし"
2450
+ "て、 ``pow(inv_base, -exp, mod)`` が返されます。"
2445
2451
2446
2452
#: ../../library/functions.rst:1310
2447
2453
msgid "Here's an example of computing an inverse for ``38`` modulo ``97``::"
2448
- msgstr ""
2454
+ msgstr "以下は``97`` を法とする ``38`` のモジュラ逆数の計算例です:: "
2449
2455
2450
2456
#: ../../library/functions.rst:1317
2451
2457
msgid ""
2452
2458
"For :class:`int` operands, the three-argument form of ``pow`` now allows the "
2453
2459
"second argument to be negative, permitting computation of modular inverses."
2454
2460
msgstr ""
2461
+ ":class:`int` オペランドに対して、三引数形式の ``pow`` で第二引数に負の値を取"
2462
+ "ることができるようになりました。これによりモジュラ逆数の計算が可能になりま"
2463
+ "す。"
2455
2464
2456
2465
#: ../../library/functions.rst:1322
2457
2466
msgid ""
2458
2467
"Allow keyword arguments. Formerly, only positional arguments were supported."
2459
2468
msgstr ""
2469
+ "キーワード引数を取ることができるようになりました。以前は位置引数だけがサポー"
2470
+ "トされていました。"
2460
2471
2461
2472
#: ../../library/functions.rst:1329
2462
2473
msgid ""
You can’t perform that action at this time.
0 commit comments