JavaScript Python
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
lib
src
test
.codacy.yml
.codeclimate.yml
.gitignore
.travis.yml
LICENSE
README.md
esdoc.json
package.json

README.md

@aureooms/js-integer

Integers for JavaScript. See docs. Parent is @aureooms/js-algorithms.

import { ZZ } from '@aureooms/js-integer' ; 
const a = ZZ.from( '2983928392839289387' ) ;
const b = ZZ.from( '-302940923028393' ) ;
a.mul( b ).toString( ) ; // '-903954021577363596419770144565091'

License NPM version Build Status Coverage Status Dependencies Status devDependencies Status Code Climate NPM downloads per month GitHub issues Documentation

Children

The current underlying implementation uses big endian order. There is no alternative for the moment.

Reference