Repository navigation
Releases
Releases · phpmath/biginteger
3.0.0
Arbitrary-precision integers on GMP, now immutable only and modernized for PHP 8.4.
MutableBigIntegeris removed andImmutableBigIntegeris renamed toBigInteger.- The namespace is now
PHPMath\BigInteger. Requires PHP 8.4 or newer and the gmp extension. - Invalid input always throws a library exception (
InvalidValueException,InvalidProbabilityFactorExceptionorNotInvertibleException), all implementingBigIntegerException. - Full documentation: https://phpmath.github.io/biginteger/
This is a breaking release, see the upgrading page in the documentation.
2.1.0
Added
- isPrimeNumber method to see if the number is a prime number.
Deprecated
- Nothing
Fixed
- Nothing
Removed
- Nothing
Security
- Nothing
2.0.1
Added
- Nothing
Deprecated
- Nothing
Fixed
- Composer now has a dependency on
ext-gmpto make sure that installation only works when the extension has been installed.
Removed
- Nothing
Security
- Nothing
2.0.0
Added
- Upgraded the minimum PHP version to PHP 7
- Added parameter types to all methods so that they are strict.
Deprecated
- Nothing
Fixed
- Nothing
Removed
- Nothing
Security
- Nothing
1.0.0
Added
- The first release of phpmath/biginteger
Deprecated
- Nothing
Fixed
- Nothing
Removed
- Nothing
Security
- Nothing