NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2801 most downloaded on Packagist
A mathematics library, providing functionality for large numbers
Latest stable
1.2.1
Last release 7 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 3.8 years
Nearly every release is documented
notes for 7 of 7 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
7 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Package is *abandoned*. Please transition to brick/math.
Released: 2020-01-04
Optimize algorithm for conversion from base-10 numbers
Released: 2020-01-04
BigNumberInterfaceAbstractBigNumber implementing BigNumberInterface, to
extract common code (mainly convenience and static methods).BigNumberImmutable, extending AbstractBigNumber and composing
a mutable BigNumber.BigNumber extend AbstractBigNumber.There is a subtle difference in how BigNumberImmutable works in respect to
BigNumber when using withScale method instead of setScale:
When invoking BigNumberImmutable::withScale(), the new instance will have the
new value re-computed according to the new scale. With BigNumber::setScale()
instead, the change doesn't happen until subsequent computations.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix issue where convertToBase10() and convertFromBase10() returned incorrect results if the global bcmath.scale value was set to something other than
convertToBase10() and convertFromBase10() returned incorrect results if the global bcmath.scale value was set to something other than zero. See https://github.com/ramsey/uuid/issues/150.Released: 2017-02-16
convertToBase10() and convertFromBase10() returned incorrect results if the global bcmath.scale value was set to something other than zero. See https://github.com/ramsey/uuid/issues/150.Updated from PSR-0 to PSR-4 standard
docs/ directoryReleased: 2016-11-17
docs/ directoryBreak: Division by zero now throws \Moontoast\Math\Exception\ArithmeticException instead of \InvalidArgumentException
\Moontoast\Math\Exception\ArithmeticException instead of \InvalidArgumentException\Moontoast\Math\Exception\ArithmeticExceptionReleased: 2013-01-19
\Moontoast\Math\Exception\ArithmeticException instead of \InvalidArgumentException\Moontoast\Math\Exception\ArithmeticExceptionChanged copyright name
Initial release
One column per quarter.