Skip to content

Releases: cockroachdb/apd

v3.2.1

13 Sep 03:05
cb6ebb8
Compare
Choose a tag to compare

What's Changed

  • apd: Improve SetFloat64 efficiency by @miretskiy in #129
  • format: do not output 0's after decimals for 0 with coeff < -2000 by @otan in #130

Full Changelog: v3.2.0...v3.2.1

v3.2.0

15 May 01:03
4c2545f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.1.2...v3.2.0

v3.1.2

31 Oct 13:59
e2bc4ac
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.1.1...v3.1.2

v3.1.1

09 Sep 20:05
e2030eb
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.1.0...v3.1.1

v3.1.0

31 Jan 18:30
5684ba3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.1...v3.1.0

v3.0.1

29 Jan 20:24
86b4932
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.0...v3.0.1

v3.0.0

10 Jan 21:12
a3aa8bd
Compare
Choose a tag to compare

Breaking Changes

The Decimal.Coeff field's type has changed from a math/big.Int to a new apd.BigInt type. This allows the library to embed small coefficients into the Decimal struct directly, instead of requiring a separate heap allocation and indirection.

What's Changed

Full Changelog: v2.0.2...v3.0.0

v2.0.2

11 Jun 03:36
1d75d33
Compare
Choose a tag to compare
  • apd: update example to use apd/v2

v2.0.1: Merge pull request #85 from cockroachdb/mjibson-patch-1

25 Feb 07:33
5307578
Compare
Choose a tag to compare

Version 2.0.0

17 Oct 18:12
bced77f
Compare
Choose a tag to compare
  • NewWithBigInt now correctly handles negative big.Ints.
  • SetExponent and SetCoefficient have been removed in favor of SetFinite. Now all Set methods set all fields of Decimal.

Due to the breaking API changes above the major version has been bumped.