big-sum
v1.1.0
Published
sum array represented of big numbers
Downloads
4
Readme
Big Sum
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