[Pkg-javascript-devel] Bug#708984: ITP: bignumber.js -- Arbitrary-precision decimal and non-decimal arithmetic

Mike Gabriel sunweaver at debian.org
Sun May 19 23:29:39 UTC 2013


Package: wnpp
Severity: wishlist
Owner: Mike Gabriel <sunweaver at debian.org>

* Package name    : bignumber.js
  Version         : 1.0.1
  Upstream Author : Michael Mclaughlin <M8ch88l at gmail.com>
* URL             : https://github.com/MikeMcl/bignumber.js
* License         : Expat
  Programming Lang: Javascript
  Description     : Arbitrary-precision decimal and non-decimal arithmetic

 Features:
 .
    - Faster, smaller, and perhaps easier to use than Javascript versions of
      Java's BigDecimal
    - 5 KB minified and gzipped
    - Simple API but full-featured
    - Works with numbers with or without fraction digits in bases from 2 to 36
      inclusive
    - Replicates the toExponential, toFixed, toPrecision and toString methods of
      Javascript's Number type
    - Includes a toFraction and a squareRoot method
    - Stores values in an accessible decimal floating point format
    - No dependencies
    - Comprehensive documentation and test set
 .
 If an even smaller and simpler library is required see big.js. It's half the
 size but only works with decimal numbers and only has half the methods. It
 neither allows NaN or Infinity, or have the configuration options of this
 library.



More information about the Pkg-javascript-devel mailing list