When comparing javascript-bignum vs bignumber.js, the Slant community recommends javascript-bignum for most people. In the question“What is the best JavaScript library for dealing with large numbers?” javascript-bignum is ranked 1st while bignumber.js is ranked 4th. The most important reason people chose javascript-bignum is:
Exact rationals are represented as pairs of exact integers. Inexact real numbers are represented as native numbers. The implementation is correct.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Accurate
Exact rationals are represented as pairs of exact integers. Inexact real numbers are represented as native numbers. The implementation is correct.
Pro Fast
Numbers are stored as arrays base 10000000 with sign flag, not strings or something else weird.
Pro No dependencies
bignumber.js, doesn't have any dependencies. This doesn't make it dependent on any other library, avoiding having to reimplement any features in case one of the dependencies gets abandoned for example.