All Versions
52
Latest Version
Avg Release Cycle
65 days
Latest Release
953 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v0.10.2 Changes
August 11, 2022๐ ๐ Improvements
BigRational::toFloat()
now simplifies the fraction before performing division (#73) thanks to @olsavmic
-
v0.10.1 Changes
August 02, 2022๐ โจ New features
BigInteger::gcdMultiple()
returns the GCD of multipleBigInteger
numbers
-
v0.10.0 Changes
June 18, 2022๐ฅ ๐ฅ Breaking changes
- Minimum PHP version is now 7.4
-
v0.9.3 Changes
August 15, 2021๐ Compatibility with PHP 8.1
- ๐ Support for custom object serialization; this removes a warning on PHP 8.1 due to the
Serializable
interface being deprecated (#60) thanks @TRowbotham
- ๐ Support for custom object serialization; this removes a warning on PHP 8.1 due to the
-
v0.9.2 Changes
January 20, 2021๐ ๐ Bug fix
- 0๏ธโฃ Incorrect results could be returned when using the BCMath calculator, with a default scale set with
bcscale()
, on PHP >= 7.2 (#55).
- 0๏ธโฃ Incorrect results could be returned when using the BCMath calculator, with a default scale set with
-
v0.9.1 Changes
August 19, 2020๐ฑ โจ New features
BigInteger::not()
returns the bitwiseNOT
value
๐ ๐ Bug fixes
BigInteger::toBytes()
could return an incorrect binary representation for some numbers- The bitwise operations
and()
,or()
,xor()
onBigInteger
could return an incorrect result when the GMP extension is not available
-
v0.9.0 Changes
August 18, 2020๐ฑ ๐ Improvements
BigNumber::of()
now accepts.123
and123.
formats, both of which return aBigDecimal
๐ฅ ๐ฅ Breaking changes
- ๐ Deprecated method
BigInteger::powerMod()
has been removed - usemodPow()
instead - ๐ Deprecated method
BigInteger::parse()
has been removed - usefromBase()
instead
-
v0.8.17 Changes
August 19, 2020๐ ๐ Bug fix
BigInteger::toBytes()
could return an incorrect binary representation for some numbers- The bitwise operations
and()
,or()
,xor()
onBigInteger
could return an incorrect result when the GMP extension is not available
-
v0.8.16 Changes
August 18, 2020๐ ๐ Critical fix
- ๐ This version reintroduces the deprecated
BigInteger::parse()
method, that has been removed by mistake in version0.8.9
and should have lasted for the whole0.8
release cycle.
๐ โจ New features
BigInteger::modInverse()
calculates a modular multiplicative inverseBigInteger::fromBytes()
creates aBigInteger
from a byte stringBigInteger::toBytes()
converts aBigInteger
to a byte stringBigInteger::randomBits()
creates a pseudo-randomBigInteger
of a given bit lengthBigInteger::randomRange()
creates a pseudo-randomBigInteger
between two bounds
๐ ๐ฉ Deprecations
- ๐
BigInteger::powerMod()
is now deprecated in favour ofmodPow()
- ๐ This version reintroduces the deprecated
-
v0.8.15 Changes
April 15, 2020๐ ๐ Fixes
- โ added missing
ext-json
requirement, due toBigNumber
implementingJsonSerializable
โก๏ธ Optimizations
- โ additional optimization in
BigInteger::remainder()
- โ added missing