Skip to content

gmp を原文の変更に追従 (6ファイル) - #602

Merged
KentarouTakeda merged 1 commit into
php:masterfrom
KentarouTakeda:sync-gmp
Nov 14, 2026
Merged

KentarouTakeda merged 1 commit into
php:masterfrom
KentarouTakeda:sync-gmp

Conversation

@KentarouTakeda

Copy link
Copy Markdown
Collaborator

原文の php/doc-en#6057(php/doc-en@7462f77)で、gmp_div_q() などの除算を行う 6 つの関数に、num2 が 0 の場合に DivisionByZeroError がスローされることと PHP 8.0.0 より前の挙動を示すエラーの節が追加されたので、これに追従しました。これで gmp モジュールの未訳・要更新はなくなります。

対象ファイル

reference/gmp/ (6) — functions/gmp-div-q.xml, functions/gmp-div-qr.xml, functions/gmp-div-r.xml, functions/gmp-divexact.xml, functions/gmp-invert.xml, functions/gmp-mod.xml

@KentarouTakeda
KentarouTakeda merged commit f858144 into php:master Nov 14, 2026
2 checks passed
@KentarouTakeda
KentarouTakeda deleted the sync-gmp branch November 14, 2026 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant