Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Prime number generation, and range operator

by nerfherder (Monk)
on Jan 28, 2005 at 23:14 UTC ( #426154=note: print w/replies, xml ) Need Help??


in reply to Prime number generation, and range operator

Well, it needs some help... No time to test at the moment, but I'd like to mention that this wheel has already been invented:

http://search.cpan.org/~cwest/ppt-0.14/src/primes/primes


Update: After reading jdalbec's brilliantly concise reply, I'd like to share a link to some wisdom/magic on this topic, located exactly where you'd expect:

http://www.stonehenge.com/merlyn/UnixReview/col26.html
  • Comment on Re: Prime number generation, and range operator

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://426154]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2021-09-24 00:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?