Skip to content

Releases: purescript/purescript-numbers

v9.0.1

13 Feb 09:18
Compare
Choose a tag to compare

Other improvements:

v9.0.0

27 Apr 19:12
2a53528
Compare
Choose a tag to compare

Breaking changes:

New features:

  • Ported various functions & constants from purescript-math (#18 by @JamieBallingall)

    Specifically...

    • abs, sign
    • max, min (which work differently than Number's Ord instance)
    • ceil, floor, trunc, remainder/%, round
    • log
    • exp, pow, sqrt
    • acos, asin, atan, atan2, cos, sin, tan
    • Numeric constants: e, ln2, ln10, log10e, log2e, pi, sqrt1_2,
      sqrt2, and tau

Other improvements:

  • Removed dependency on purescript-math

v8.0.0

26 Feb 17:37
f5bbd96
Compare
Choose a tag to compare

Breaking changes:

  • Added support for PureScript 0.14 and dropped support for all previous versions (#11)

New features:

  • Ported Number-related code from deprecated purescript-globals into this repo (#12)

Bugfixes:

Other improvements:

  • Replaced unicode symbols with ascii characters (#11)
  • Migrated tests to use assert instead of test-unit (#10)
  • Migrated CI to GitHub Actions and updated installation instructions to use Spago (#13)
  • Added a changelog and pull request template (#14)

v6.0.0

27 May 18:08
Compare
Choose a tag to compare

v5.0.0

30 Apr 10:57
Compare
Choose a tag to compare
  • Added functions for formatting numbers
  • Refactoring

v4.1.0

16 Apr 07:37
Compare
Choose a tag to compare
  • Added fromString, a safe version of parseFloat (@i-am-tom)
  • Added nan, isNaN, infinity and isFinite from purescript-globals.

v4.0.0

15 Apr 20:13
Compare
Choose a tag to compare
  • Updates for PS 0.11

v3.0.0

29 Oct 15:49
Compare
Choose a tag to compare
  • Updates for PureScript 0.10