Skip to content

coderaiser/big-wrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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