Skip to content

Commit 20b3e96

Browse files
authored
Merge pull request #92 from gfredericks/patch-1
Correct typo in README: positive ⇒ prime
2 parents ee9029e + a1b87f7 commit 20b3e96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Returns `true` if the number is prime, `false` otherwise.
211211

212212
#### `isProbablePrime([iterations])`
213213

214-
Returns `true` if the number is very likely to be positive, `false` otherwise.
214+
Returns `true` if the number is very likely to be prime, `false` otherwise.
215215
Argument is optional and determines the amount of iterations of the test (default: `5`). The more iterations, the lower chance of getting a false positive.
216216
This uses the [Fermat primality test](https://en.wikipedia.org/wiki/Fermat_primality_test).
217217

@@ -517,4 +517,4 @@ There are performance benchmarks that can be viewed from the `benchmarks/index.h
517517

518518
## License
519519

520-
This project is public domain. For more details, read about the [Unlicense](http://unlicense.org/).
520+
This project is public domain. For more details, read about the [Unlicense](http://unlicense.org/).

0 commit comments

Comments
 (0)