Socket
Socket
Sign inDemoInstall

big.js

Package Overview
Dependencies
0
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
234Next

6.2.1

Diff

Changelog

Source

6.2.1

  • 09/07/22
  • #191 Bugfix: round may result in improper coefficient.
mikemcl
published 6.2.0 •

Changelog

Source

6.2.0

  • 04/06/22
  • Add note that a Big number is created from a numbers toString value.
  • #173 Add Symbol.for('nodejs.util.inspect.custom').
  • Allow BigInt when Big.strict is true.
  • #177 Add neg method to negate a Big number.
  • Add to package.json exports.
mikemcl
published 6.1.1 •

Changelog

Source

6.1.1

  • 03/05/21
  • #169 Bugfix: round, toFixed etc. using original constructor RM (bug introduced in v6.0.0).
  • #169 Correct rounding mode documentation.
  • Add version number to legacy documentation.
mikemcl
published 6.1.0 •

Changelog

Source

6.1.0

  • 26/04/21
  • #165 Add missing documentation of toFixed etc. rounding mode parameter.
  • #150 Add static rounding modes to Big constructor.
mikemcl
published 6.0.3 •

Changelog

Source

6.0.3

  • 02/12/20
  • #148 Bugfix: primitive numbers passed to constructor internally in strict mode.
mikemcl
published 6.0.2 •

Changelog

Source

6.0.2

  • 31/10/20
  • #147 Change toJSON to be an alias of toString.
mikemcl
published 6.0.1 •

Changelog

Source

6.0.1

  • 30/09/20
  • Correct sqrt initial estimate.
mikemcl
published 6.0.0 •

Changelog

Source

6.0.0

  • 25/09/20
  • Add optional rounding mode parameter to toExponential, toFixed and toPrecision.
  • Add a strict mode to disallow imprecise number/Big conversions when Big.strict = true.
  • Add toNumber method.
  • Add prec method to round a Big to a specified number of significant digits.
  • Add version selector to API documentation.
  • Change toJSON to return exponential format.
  • Remove big.min.js.
  • Remove Big.version.
  • Rename doc folder to docs to use it as the GitHub publishing source.
  • Add legacy API documentation to docs.
  • Add README to perf directory.
  • Refactor test suite, and add toNumber and prec tests.
  • Update README.
mikemcl
published 5.2.2 •

Changelog

Source

5.2.2

  • 18/10/18
  • #109 Remove opencollective dependency.
mikemcl
published 5.2.1 •

Changelog

Source

5.2.1

  • Delete bower.json.
234Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc