1.1.0 • Published 6 years ago

big-sum v1.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Big Sum License NPM version Dependency Status Build Status

Sum array representation of big numbers.

Install

npm i big-sum --save

How to use?

const bigSum = require('big-sum');

bigSum([1, 9], [2, 9])
// 48

const {rawSum} = require('big-sum');
const bigWrap = require('big-wrap');

rawSum([1, 9], [2, 9]);
// [3, 18]

bigWrap([3, 18])
// 48

Environments

In old node.js environments that not fully supports es2015, big-sum could be used with:

var bigSum = require('big-sum/legacy');

Related

  • big-wrap - wrap array representation of big numbers
  • big-mul - multiply array representation of big numbers

License

MIT

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago