PackageTrack
Sign in Get early access

moontoast/math

Abandoned; use brick/math. A mathematics library, providing functionality for large numbers

1.2.1 27M downloads/mo #2473 most downloaded on Packagist ramsey/moontoast-math

What this package is like to depend on

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

0 releases in the last 12 months

see the full history below

Release timeline

7 releases · Jan 2013 to Jan 2020
2014 2016 2018 2020 2022 2024 2026
Release Pre-release

Releases

latest 7
  1. 1.2.1 05 Jan 2020
    Release notes

    Released: 2020-01-04

    • Package is abandoned. Please transition to brick/math.
    Open source →
    Release notes

    Released: 2020-01-04

    • Package is abandoned. Please transition to brick/math.
    Open source →
  2. 1.2.0 05 Jan 2020
    Release notes

    Released: 2020-01-04

    • Optimize algorithm for conversion from base-10 numbers
    • Simplify the algorithm for absolute value.
    • Introduce BigNumberInterface
    • Introduce AbstractBigNumber implementing BigNumberInterface, to
      extract common code (mainly convenience and static methods).
    • Introduce BigNumberImmutable, extending AbstractBigNumber and composing
      a mutable BigNumber.
    • Make BigNumber extend AbstractBigNumber.
    • Remove dependency on ext-bcmath.

    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.

    Open source →
    Release notes

    Released: 2020-01-04

    • Optimize algorithm for conversion from base-10 numbers
    • Simplify the algorithm for absolute value.
    • Introduce BigNumberInterface
    • Introduce AbstractBigNumber implementing BigNumberInterface, to extract common code (mainly convenience and static methods).
    • Introduce BigNumberImmutable, extending AbstractBigNumber and composing a mutable BigNumber.
    • Make BigNumber extend AbstractBigNumber.
    • Remove dependency on ext-bcmath.

    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.

    Open source →
  3. 1.1.2 16 Feb 2017
    Release notes
    • Fix issue where convertToBase10() and convertFromBase10() returned incorrect results if the global bcmath.scale value was set to something other than zero. See ramsey/uuid#150.
    Open source →
    Release notes

    Released: 2017-02-16

    • Fix issue where 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.
    Open source →
  4. 1.1.1 17 Nov 2016
    Release notes
    • Updated from PSR-0 to PSR-4 standard
    • Fix failing tests on PHP 7
    • Miscellaneous build and test improvements
    • Removed the docs/ directory
    Open source →
    Release notes

    Released: 2016-11-17

    • Updated from PSR-0 to PSR-4 standard
    • Fix failing tests on PHP 7
    • Miscellaneous build and test improvements
    • Removed the docs/ directory
    Open source →
  5. 1.1.0 19 Jan 2013
    Release notes
    • Break: Division by zero now throws \Moontoast\Math\Exception\ArithmeticException instead of \InvalidArgumentException
    • Regenerated API documentation to include \Moontoast\Math\Exception\ArithmeticException
    Open source →
    Release notes

    Released: 2013-01-19

    • Break: Division by zero now throws \Moontoast\Math\Exception\ArithmeticException instead of \InvalidArgumentException
    • Regenerated API documentation to include \Moontoast\Math\Exception\ArithmeticException
    Open source →
  6. 1.0.1 16 Jan 2013
    Release notes
    • Changed copyright name
    Open source →
    Release notes

    Released: 2013-01-16

    • Changed copyright name.
    Open source →
  7. 1.0.0 11 Jan 2013
    Release notes
    • Initial release
    Open source →
    Release notes

    Released: 2013-01-10

    • Initial release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive