Skip to content

Latest commit

 

History

History
106 lines (65 loc) · 4.14 KB

CHANGELOG.md

File metadata and controls

106 lines (65 loc) · 4.14 KB

Changelog

[Unreleased]

Improvements

  • #16263 Improved math/Int.Size by computing the decimal digits count instead of firstly invoking .Marshal() then checking the length

Bug Fixes

  • #16266 fix: legacy dec power mut zero exponent precision.

math/v1.0.1 - 2023-05-15

Improvements

  • #15768 Removed the second call to the init method for the global variable grand.
  • #16141 Speedup LegacyDec.ApproxRoot and LegacyDec.ApproxSqrt.

Bug Fixes

  • #15714 FormatInt returns an error on empty string.

math/v1.0.0 - 2023-03-23

Bug Fixes

  • #15506 Dec marshal shouldn't have side effects

math/v1.0.0-rc.0 - 2023-03-13

Features

  • #15043 add rand funcs to math

Bug Fixes

  • #14922 check for negative precision

Testing

math/v1.0.0-beta.6 - 2023-02-06

Features

  • #14760 add collections key encoders and value encoders for common types.
  • #14166 math: add generics versions of Max, Min to cater to all numeric types
  • #13381 add uint IsNil method

Improvements

  • #14010 math: optimize and test FormatInt + simplify LegacyNewDecFromStr
  • #12794 math: precompute & use square of precisionReuse instead of 2 repeated computations

Bug Fixes

  • #14691 do not flatten events attributes by event types
  • #14252 math: add LegacyNewDecFromStr fuzzers + remove unnecessary error wrapping

Testing

  • #14576 Added test cases for precisionMultiplier

math/v1.0.0-beta.3 - 2022-07-20

Bug Fixes

  • #11996 math: fix Uint.Unmarshal's lack of negative value checking