Miss any of our Open RFC calls?Watch the recordings here! »

@aureooms/js-integer

8.0.0 • Public • Published

@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 Version Build Dependencies Dev dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (alls) Code technical debt Documentation Package size

Children

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

Reference

Install

npm i @aureooms/js-integer

DownloadsWeekly Downloads

2

Version

8.0.0

License

AGPL-3.0

Unpacked Size

483 kB

Total Files

20

Last publish

Collaborators

  • avatar