Releases: govalues/decimal
Releases · govalues/decimal
v0.1.36
Added
- Implemented
Decimal.AppendText
, Decimal.AppendBinary
, Decimal.Expm1
, Decimal.Log1p
.
v0.1.35
Added
- Implemented
Decimal.UnmarshalJSON
, Decimal.MarshalJSON
, Decimal.UnmarshalBSONValue
, Decimal.MarshalBSONValue
.
v0.1.34
Added
- Implemented
Mean
, Decimal.Pow
, Decimal.Log2
, Decimal.Log10
.
!!! Breaking Change !!!
Due to wrong behaviour of some database drivers, the following changes were made:
Decimal.MarshalBinary
produces the same output as Decimal.MarshalText
.
Decimal.UnmarshalBinary
expects the same input as Decimal.UnmarshalText
.
All BCD encoding related code was removed.
v0.1.32
Added
Changed
Decimal.PowInt
always correctly rounds the result.
- Deprecated
Decimal.Pow
.
v0.1.31
Added
- Implemented
Decimal.SubMul
, Decimal.SubQuo
, Decimal.Equal
, Decimal.Less
.
v0.1.30
Added
- Implemented
Decimal.AddMul
, Decimal.AddQuo
, Decimal.Exp
.
Changed
- Bumped go version to 1.22.
- Deprecated
Decimal.FMA
.
v0.1.29
Changed
- Improved
Decimal.Sqrt
and Decimal.QuoRem
performance.
v0.1.28
Added
- Implemented
Decimal.Sqrt
.
v0.1.27
Changed
Decimal.Pad
, Decimal.Rescale
, and Descimal.Quantize
methods do not return errors anymore.