Skip to content

Releases: goinsane/xmath

v1.7.1

15 Nov 08:01
6ea33b3
Compare
Choose a tag to compare
  • fixed godoc
  • fixed unnecessary NaN check in Sign()

v1.7.0

21 Oct 11:58
52ea5b7
Compare
Choose a tag to compare
  • implemented: Int64BigInt, Uint64BigInt, Zero, Sign, SignInt, Sum, Avg, SumInt, AvgInt, SumUint, AvgUint, SumInt2, AvgInt2, SumUint2, AvgUint2
  • improved godoc and readme
  • updated .sonarcloud.properties

v1.6.1

17 Jul 11:35
2591d14
Compare
Choose a tag to compare
  • fixed typo for NewHexadecimal
  • updated .sonarcloud.properties for go tests.

v1.6.0

14 Jul 20:59
5b7bc53
Compare
Choose a tag to compare

implemented new constants

  • MinBase
  • MaxBase
  • MaxInt8Value
  • MinInt8Value
  • MaxInt16Value
  • MinInt16Value
  • MaxInt32Value
  • MinInt32Value
  • MaxInt64Value
  • MinInt64Value
  • MaxUint8Value
  • MaxUint16Value
  • MaxUint32Value
  • MaxUint64Value
  • MaxIntValue
  • MinIntValue
  • MaxUintValue
  • UintSize

implemented new functions

  • FloorPB, CeilPB, RoundPB
  • MaxUint, MinUint, MaxMinUint, MinMaxUint
  • AlmostEqualP64, AlmostEqualP32, AlmostEqualP, AlmostEqual
  • AlmostEqualD64, AlmostEqualD32, AlmostEqualD
  • Equal64, Equal32, Equal
  • IsZero

implemented functions for types of math.big

  • FloorBigFloat
  • CeilBigFloat
  • RoundBigFloat
  • IntBigRat
  • Int64BigRat
  • Uint64BigRat
  • FloorBigRat
  • CeilBigRat
  • RoundBigRat

implemented new types

  • Real
  • Stepper

other

  • improved godoc
  • improved examples
  • improved tests

v1.5.0

09 May 11:28
b7587bc
Compare
Choose a tag to compare
  • renamed Equal to AlmostEqual64
  • implemented AlmostEqual32

v1.4.1

07 May 11:28
5f21b1c
Compare
Choose a tag to compare
  • 'ignoring multiple value of x in Equal' bug fixed
  • added NaN support for Equal function

v1.4.0

07 May 11:16
2e7096b
Compare
Choose a tag to compare

implemented:

  • MaxMin
  • MaxMinInt
  • Equal

v1.3.0

31 Mar 14:47
d80219c
Compare
Choose a tag to compare

implemented:

  • CryptoRand()
  • Min()
  • Max()
  • MinInt()
  • MaxInt()
  • MinMaxInt()

improved:

  • MinMax()

v1.2.0

18 Jan 10:25
7427fc2
Compare
Choose a tag to compare
  • added allowNaN argument to SafeDiv

v1.1.0

18 Jan 10:14
6f8c80e
Compare
Choose a tag to compare
  • added SafeDiv, CryptoRandInt, CryptoRandFloat, CryptoRandCode functions