| Version | Message |
| 2.0.1 |
- Default decimal precision changed from 28 to 34. - Decimal operations now use the **minimum** precision of all operands. - Added `Decimal\Rational` implementation for rational numbers (fractions). - Added `Decimal\Number` abstract class. - Performance improvements, reduced object allocations. - Private constructors, static initializers via `valueOf`. - PHP 8.2, 8.3, and 8.4 compatibility. - Fixed isPositive/isNegative to return false for zero values. - Fixed array/debug output for Decimal and Rational objects. - Renamed `toSci` to `toScientific`. |
| 2.0.0 |
- Default decimal precision changed from 28 to 34. - Decimal operations now use the **minimum** precision of all operands. - Added `Decimal\Rational` implementation for rational numbers (fractions). - Added `Decimal\Number` abstract class. - Performance improvements, reduced object allocations. - Private constructors, static initializers via `valueOf`. |
| 1.5.3 |
- Fixed isPositive/isNegative to return false for zero values (per GDA spec). - Added get_properties_for handler for array cast, var_export, and debug output. - Fixed get_properties_for signature for PHP 7.4 compatibility. - Added composer.json for PIE/Packagist support. - Set minimum PHP version to 7.4. |
| 1.5.1 |
- Fixed isPositive/isNegative to return false for zero values (per GDA spec). - Added get_properties_for handler for array cast, var_export, and debug output. - Version bump to 1.5.1. |
| 1.5.0 | - Fix object handlers for PHP 8.3 (thank you @Majkl578) |
| 1.4.0 |
- Added support for PHP 8 (thank you @zlodes) - Added support for mpdecimal 2.5+ - Fixed internal exception when passing negative decimal places to toFixed |
| 1.3.1 | - Fixed abs affected by precision. |
| 1.3.0 |
- Fixed sqrt of -INF returning -INF rather than NAN. #13 - Disable opcache pass 2 due to numeric string to float casts. Thanks @krakjoe |
| 1.2.0 |
- Change signum of NAN returning 1, now throws RuntimeException. #10 - Change toInt of NAN and INF returning 0, now throws RuntimeException. #11 - Fix pthreads incompatibility (properly). #12 |
| 1.1.2 | Fix incompatibility with pthreads. #12 @krakjoe |
| 1.1.1 | Fix "signum" returning 1 for zero, instead of 0. |
| 1.1.0 | Added "trim" method, to remove trailing zeroes. |
| 1.0.1 | Package content updates, smarter .m4 @remicollet |
| 1.0.0 | Initial release, request for comments. |