v3.0.0
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
- apd: add decomposer interface methods by @kardianos in #88
- add some linting to travis by @mjibson in #92
- apd: update decomposer methods to use big-endian coefficent by @kardianos in #93
- apd: perform CI using GitHub Actions by @nvanbenschoten in #106
- apd: prevent (*Decimal).Int64 receiver from escaping to heap by @nvanbenschoten in #104
- apd: embed small coefficient values in Decimal struct by @nvanbenschoten in #103
- apd: add apd.BigInt / math/big.Int interop methods by @nvanbenschoten in #108
- apd: tune performance by inlining function calls and manually unrolling loops by @nvanbenschoten in #107
- apd: add inline fast-path to BigInt.Format by @nvanbenschoten in #109
- apd: support and test 32-bit architectures and ARM architectures by @nvanbenschoten in #110
- apd: use gcassert to check that tmp big.Ints don't escape, add to CI by @nvanbenschoten in #111
Full Changelog: v2.0.2...v3.0.0