[php-src] PR #16694: Fixed GH-16236: Fixed a bug in `BcMath\Number::pow()` when raising negative powers of `0`.
| From: | SakiTakamachi | Date: | Mon, 04 Nov 2024 07:52:39 +0000 |
| Subject: | [php-src] PR #16694: Fixed GH-16236: Fixed a bug in `BcMath\Number::pow()` when raising negative powers of `0`. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-29501@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16694
Author: SakiTakamachi
Fixed #16236
The existing function
bcpow() returns 0 when it is a negative power of
0. Changing this specification is a BC Break, so will not do so in this PR.
The BcMath\Number class is a class added in 8.4, so an error will be generated.