[php-src] PR #15599: ext/bcmath: Fixed the sign to be PLUS if the result is 0
| From: | SakiTakamachi | Date: | Tue, 27 Aug 2024 12:07:28 +0000 |
| Subject: | [php-src] PR #15599: ext/bcmath: Fixed the sign to be PLUS if the result is 0 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28218@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15599
Author: SakiTakamachi
This does not affect existing functions at all, but when comparing on
BcMath\Number
objects, mixing 0 and -0 will result in unintended behavior, so modify it
so that the sign is always PLUS for 0 .