I need a function that returns True or False if an integer n is a prime. Any 'high speed' thoughts?
sneekula
969
Nearly a Posting Maven
Recommended Answers
Jump to Postsneekula, I don't want to sound rude, but your one-sentence-question-posts are annoying. Why don't you try to find the answer alone first? If you're stuck, post what you have tried and we will try to help you.
BTW: The internet is full of isprime functions in any language you …
All 7 Replies
Dani
4,074
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
mawe
6
Junior Poster
Dani
4,074
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
mawe
6
Junior Poster
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
jrcagle
77
Practically a Master Poster
wallars
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.