forked from TheAlgorithms/C-Plus-Plus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: updated the Prime number checking code to make it more efficient (
TheAlgorithms#1714) * updated the code to make it more efficient * Update math/check_prime.cpp Co-authored-by: David Leal <halfpacho@gmail.com> * Update math/check_prime.cpp Co-authored-by: David Leal <halfpacho@gmail.com> * Apply suggestions from code review Co-authored-by: David Leal <halfpacho@gmail.com>
- Loading branch information
1 parent
5b78538
commit 6c67471
Showing
1 changed file
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters