Skip to content

A faster than average C/C++ function to detect if a number is prime.

Notifications You must be signed in to change notification settings

jselbie/isprime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

isprime

A faster than average C/C++ function to detect if a number is prime.

The code is actually C++, but you can convert it to C by replacing all the "bool" references with "int". Replace "true" and "false" with 0 and 1 respectively.

About

A faster than average C/C++ function to detect if a number is prime.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages