1.0.2 • Published 6 years ago

js-big-integers v1.0.2

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

JS Big Integers

Objectives

As I like to say :

There is no such thing as infinity

This package's objective is to handle any Integer calculations.

As long as it can be put into strings it will do it.

What does this package contain

  • Addition
  • Multiplication
  • Subtraction

Installation

npm install js-big-integers

How to use

const BigIntg = require('js-big-integers')

BigInt.add('8888888888','999999999999');
//returns 1008888888887

BigInt.multiply('8888888888','999999999999');
// returns 8.888888887991112e+21

Current Issues

a safe method is a method that dosen't exceed the JS numeric limits.

  • implementaion for safe and non safe additon.
1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago