Releases: brick/math
Releases · brick/math
0.7.1
This is a maintenance release, no code has been changed.
- When installed with
--no-dev
, the autoloader does not autoload tests anymore - Tests and other files unnecessary for production are excluded from the dist package
This will help make installations more compact.
0.7.0
Methods renamed:
BigNumber:sign()
has been renamed togetSign()
BigDecimal::unscaledValue()
has been renamed togetUnscaledValue()
BigDecimal::scale()
has been renamed togetScale()
BigDecimal::integral()
has been renamed togetIntegral()
BigDecimal::fraction()
has been renamed togetFraction()
BigRational::numerator()
has been renamed togetNumerator()
BigRational::denominator()
has been renamed togetDenominator()
Classes renamed:
ArithmeticException
has been renamed toMathException
0.6.2
0.6.1
A number of methods have been renamed:
BigNumber:sign()
is deprecated; usegetSign()
insteadBigDecimal::unscaledValue()
is deprecated; usegetUnscaledValue()
insteadBigDecimal::scale()
is deprecated; usegetScale()
insteadBigDecimal::integral()
is deprecated; usegetIntegral()
insteadBigDecimal::fraction()
is deprecated; usegetFraction()
insteadBigRational::numerator()
is deprecated; usegetNumerator()
insteadBigRational::denominator()
is deprecated; usegetDenominator()
instead
The old methods will be removed in version 0.7.0.
0.6.0
0.5.4
BigNumber
classes now implement JsonSerializable.
The JSON output is always a string.