1.0.1 • Published 6 years ago

big-mul v1.0.1

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

Big Mul License NPM version Dependency Status Build Status

Multiply array representation of big numbers using BigInt where possible or Fürer's algorithm.

Install

npm i big-mul --save

How to use?

const bigMul = require('big-mul');

bigMul([1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 2, 3, 4, 5, 6, 7, 8, 9])
// returns
[ 1, 5, 2, 4, 1, 5, 7, 8, 7, 5, 0, 1, 9, 0, 5, 2, 1 ]

Environments

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

var bigSum = require('big-mul/legacy');

Related

  • big-sum - sum array representation of big numbers
  • big-wrap - wrap array representation of big numbers

License

MIT

1.0.1

6 years ago

1.0.0

6 years ago