Repository navigation
Releases
Releases · phpmath/bignumber
2.0.0
Arbitrary-precision decimal numbers on bcmath, now immutable and modernized for PHP 8.4.
BigNumberis immutable: the mutable flag,setValue(),setScale()andisMutable()are removed. UsewithScale()and the newround().- The namespace is now
PHPMath\BigNumber. Requires PHP 8.4 or newer and the bcmath extension. - Specific exceptions implementing
BigNumberException, and several calculation bugs fixed. - Full documentation: https://phpmath.github.io/bignumber/
This is a breaking release, see the upgrading page in the documentation.
1.2.0
Added
- Added support for scientific (exponential) notation.
Deprecated
- Nothing
Fixed
- Nothing
Removed
- Nothing
Security
- Nothing
1.1.0
Added
- Added a requirement to ext-bcmath to make sure composer installations fail when the extension is not available.
- Cleaning, added docblocks, updated the installation docs.
Deprecated
- Nothing
Fixed
- Nothing
Removed
- Nothing
Security
- Nothing
1.0.0
Added
- The first release of phpmath/bignumber.
Deprecated
- Nothing
Fixed
- Nothing
Removed
- Nothing
Security
- Nothing