[php-src] PR #11563: Extend tests of bcmath extension
| From: | jorgsowa | Date: | Thu, 29 Jun 2023 22:50:47 +0000 |
| Subject: | [php-src] PR #11563: Extend tests of bcmath extension | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-22864@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11563
Author: jorgsowa
I wanted to extend the BC library, but before that I thought about strengthening the test suite for
the existing functionalities.
During those test I found some things which can be improved later.
I wanted to cover all of the possible types of number (if applicable to the function):
- different formats of zero (
0, 0.0)
- small integers and decimals
- large integers and large decimals with large fractional part
- negative numbers for all of the above ones