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