1.0.1 • Published 6 years ago

big-wrap v1.0.1

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

Big Wrap License NPM version Dependency Status Build Status

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