pow-arbitrary-precision

pow abstraction to extend linear-arbitrary-precision

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
pow-arbitrary-precision
0182.1.07 years ago8 years agoMinified + gzip package size for pow-arbitrary-precision in KB

Readme

pow-arbitrary-precision
Build Status Coverage Status Code Climate
pow abstraction to extend linear-arbitrary-precision

Install

npm i pow-arbitrary-precision

Adapters

Usage

var adapter = require('floating-adapter');

var Decimal = require('pow-arbitrary-precision')(require('linear-arbitrary-precision')(adapter));

new Decimal('2').pow(new Decimal('3')).valueOf(); // => 8

See spec.