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 @@ -2417,21 +2417,32 @@ msgid ""
24172417"``pow(inv_base, -exp, mod)`` is returned, where *inv_base* is an inverse to "
24182418"*base* modulo *mod*."
24192419msgstr ""
2420+ "*base* と *exp* が :class:`int` ��ペランドで *mod* が存在するとき、 *mod* も"
2421+ "また整数型でなければならず、かつゼロであってはいけません。 *mod* が存在して "
2422+ "*exp* が負の整数の場合、 *base* は *mod* と互いに素 (最大公約数が1) でなけれ"
2423+ "ばなりません。この場合、 *inv_base* を *base* に対する *mod* を法とするモジュ"
2424+ "ラ逆数 (*base* と *inv_base* の積を *mod* で割った余りが1になるような数) とし"
2425+ "て、 ``pow(inv_base, -exp, mod)`` が返されます。"
24202426
24212427#: ../../library/functions.rst:1299
24222428msgid "Here's an example of computing an inverse for ``38`` modulo ``97``::"
2423- msgstr ""
2429+ msgstr "以下は``97`` を法とする ``38`` のモジュラ逆数の計算例です:: "
24242430
24252431#: ../../library/functions.rst:1306
24262432msgid ""
24272433"For :class:`int` operands, the three-argument form of ``pow`` now allows the "
24282434"second argument to be negative, permitting computation of modular inverses."
24292435msgstr ""
2436+ ":class:`int` オペランドに対して、三引数形式の ``pow`` で第二引数に負の値を取"
2437+ "ることができるようになりました。これにより���ジュラ逆数の計算が可能になりま"
2438+ "す。"
24302439
24312440#: ../../library/functions.rst:1311
24322441msgid ""
24332442"Allow keyword arguments. Formerly, only positional arguments were supported."
24342443msgstr ""
2444+ "キーワード引数を取ることができるようになりました。以前は位置引数だけがサポー"
2445+ "トされていました。"
24352446
24362447#: ../../library/functions.rst:1318
24372448msgid ""
You can’t perform that action at this time.
0 commit comments