Skip to content

Commit 317b6b1

Browse files
authored
Add isPrime's "strict" parameter to README.md
1 parent 034c886 commit 317b6b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,10 @@ Returns `false` for `0` and `-0`.
214214
- `bigInt(54).isPositive()` => `true`
215215
- `bigInt(-1).isPositive()` => `false`
216216

217-
#### `isPrime()`
217+
#### `isPrime(strict?)`
218218

219219
Returns `true` if the number is prime, `false` otherwise.
220+
Set "strict" boolean to true to force GRH-supported lower bound of 2*log(N)^2.
220221

221222
- `bigInt(5).isPrime()` => `true`
222223
- `bigInt(6).isPrime()` => `false`

0 commit comments

Comments
 (0)