项目作者: coderaiser

项目描述 :
wrap array representation of big numbers
高级语言: JavaScript
项目地址: git://github.com/coderaiser/big-wrap.git
创建时间: 2018-07-29T07:35:40Z
项目社区:https://github.com/coderaiser/big-wrap

开源协议:

下载


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

  1. npm i big-wrap --save

How to use?

  1. const bigWrap = require('big-wrap');
  2. bigWrap([9, 10, 3, 4]);
  3. // returns
  4. [1, 0, 0, 3, 4];

Environments

In old node.js environments that not fully supports es2015, big-wrap could be used with:

  1. var bigWrap = require('big-wrap/legacy');
  • big-sum - sum array representation of big numbers
  • big-mul - multiply array representation of big numbers

License

MIT