I need a function that returns True or False if an integer n is a prime. Any 'high speed' thoughts?
Jump to Post
sneekula, 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
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.