big-integer
Advanced tools
Comparing version 1.6.48 to 1.6.49
{ | ||
"name": "big-integer", | ||
"version": "1.6.48", | ||
"version": "1.6.49", | ||
"author": "Peter Olson <peter.e.c.olson+npm@gmail.com>", | ||
@@ -39,3 +39,3 @@ "description": "An arbitrary length integer library for Javascript", | ||
"karma-phantomjs-launcher": "^1.0.4", | ||
"lodash": "^4.17.11", | ||
"lodash": "^4.17.21", | ||
"typescript": "^3.6.3", | ||
@@ -49,2 +49,2 @@ "uglifyjs": "^2.4.10" | ||
"typings": "./BigInteger.d.ts" | ||
} | ||
} |
@@ -217,5 +217,6 @@ # BigInteger.js [![Build Status][travis-img]][travis-url] [![Coverage Status][coveralls-img]][coveralls-url] [![Monthly Downloads][downloads-img]][downloads-url] | ||
#### `isPrime()` | ||
#### `isPrime(strict?)` | ||
Returns `true` if the number is prime, `false` otherwise. | ||
Set "strict" boolean to true to force GRH-supported lower bound of 2*log(N)^2. | ||
@@ -222,0 +223,0 @@ - `bigInt(5).isPrime()` => `true` |
Sorry, the diff of this file is too big to display
174885
590