Wrap array representation of big numbers. Can be used to wrap numbers in Fürer's algorithm.
npm i big-wrap --save
const bigWrap = require('big-wrap');
bigWrap([9, 10, 3, 4]);
// returns
[1, 0, 0, 3, 4];
In old node.js
environments that not fully supports es2015
, big-wrap
could be used with:
var bigWrap = require('big-wrap/legacy');
- big-sum - sum array representation of big numbers
- big-mul - multiply array representation of big numbers
MIT