Skip to content

Releases: govalues/decimal

v0.1.36

18 Jan 20:07
377e9df
Compare
Choose a tag to compare

Added

  • Implemented Decimal.AppendText, Decimal.AppendBinary, Decimal.Expm1, Decimal.Log1p.

v0.1.35

11 Jan 21:40
990024f
Compare
Choose a tag to compare

Added

  • Implemented Decimal.UnmarshalJSON, Decimal.MarshalJSON, Decimal.UnmarshalBSONValue, Decimal.MarshalBSONValue.

v0.1.34

27 Dec 07:55
94aa894
Compare
Choose a tag to compare

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.33

16 Nov 13:47
addadd5
Compare
Choose a tag to compare

Added

  • Implemented Sum, Prod.

v0.1.32

19 Oct 11:18
de7a393
Compare
Choose a tag to compare

Added

  • Implemented Decimal.Log.

Changed

  • Decimal.PowInt always correctly rounds the result.
  • Deprecated Decimal.Pow.

v0.1.31

30 Aug 19:16
d5ed3ca
Compare
Choose a tag to compare

Added

  • Implemented Decimal.SubMul, Decimal.SubQuo, Decimal.Equal, Decimal.Less.

v0.1.30

29 Aug 18:34
2ac296c
Compare
Choose a tag to compare

Added

  • Implemented Decimal.AddMul, Decimal.AddQuo, Decimal.Exp.

Changed

  • Bumped go version to 1.22.
  • Deprecated Decimal.FMA.

v0.1.29

29 Jun 10:57
7fc6e69
Compare
Choose a tag to compare

Changed

  • Improved Decimal.Sqrt and Decimal.QuoRem performance.

v0.1.28

22 Jun 15:03
0beed27
Compare
Choose a tag to compare

Added

  • Implemented Decimal.Sqrt.

v0.1.27

19 May 18:12
b05531a
Compare
Choose a tag to compare

Changed

  • Decimal.Pad, Decimal.Rescale, and Descimal.Quantize methods do not return errors anymore.