Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #408856
| From | Jasen Betts <jasen@xnet.co.nz> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: anyone take a shot at this |
| Date | 2016-04-24 01:24 +0000 |
| Organization | "JJ's own news server" |
| Message-ID | <nfh794$93o$1@gonzo.alcatraz> (permalink) |
| References | (3 earlier) <bfcaefd1-c7d6-4889-b12f-0c2408ef373e@googlegroups.com> <nfbp12$b0q$1@gonzo.alcatraz> <9023ec34-fa71-498d-9254-69ca2ff88e42@googlegroups.com> <nffbhc$roa$1@gonzo.alcatraz> <4e4f2953-6969-43c0-8439-49a45474b9ea@googlegroups.com> |
On 2016-04-23, mrdarrett@gmail.com <mrdarrett@gmail.com> wrote: > On Saturday, April 23, 2016 at 1:31:26 AM UTC-7, Jasen Betts wrote: >> /*_|_| erastothenes.c >> _|_|_| A program to find all the primes <= MAX_ULONG >> _|_|_| No warrantee or guarantee implied. >> _|_|_| Released PUBLIC DOMAIN by Jasen Betts. (11/Aug/98)*/ >> /* updated for more modren systems 2016 */ > Wow! Thank you for posting this. I will have to study this further. No prob. sorry about the lack of comments, I think the first loop collects the primes out to 0x10000 and then the second pair of loops uses those to compute the primes out to 0x100000000 it doesn't do anything with the primes it finds, other than count them. -- \_(ツ)_
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
anyone take a shot at this Jamie M <jmorken@shaw.ca> - 2016-04-19 14:53 -0700
Re: anyone take a shot at this CORRECTED Jamie M <jmorken@shaw.ca> - 2016-04-19 14:58 -0700
Re: anyone take a shot at this DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-04-19 22:39 -0400
Re: anyone take a shot at this bitrex <bitrex@de.lete.earthlink.net> - 2016-04-20 14:02 -0400
Re: anyone take a shot at this John S <Sophi.2@invalid.org> - 2016-04-20 13:13 -0500
Re: anyone take a shot at this DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-04-20 16:34 -0400
Re: anyone take a shot at this DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-04-20 16:31 -0400
Re: anyone take a shot at this bitrex <bitrex@de.lete.earthlink.net> - 2016-04-20 18:32 -0400
Re: anyone take a shot at this DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-04-20 20:50 -0400
Re: anyone take a shot at this mrdarrett@gmail.com - 2016-04-20 14:04 -0700
Re: anyone take a shot at this bill.sloman@ieee.org - 2016-04-20 23:36 -0700
Re: anyone take a shot at this mrdarrett@gmail.com - 2016-04-21 11:03 -0700
Re: anyone take a shot at this Jamie M <jmorken@shaw.ca> - 2016-04-21 16:57 -0700
Re: anyone take a shot at this Jasen Betts <jasen@xnet.co.nz> - 2016-04-21 23:50 +0000
Re: anyone take a shot at this mrdarrett@gmail.com - 2016-04-22 15:16 -0700
Re: anyone take a shot at this Jasen Betts <jasen@xnet.co.nz> - 2016-04-23 08:25 +0000
Re: anyone take a shot at this mrdarrett@gmail.com - 2016-04-23 15:36 -0700
Re: anyone take a shot at this Jasen Betts <jasen@xnet.co.nz> - 2016-04-24 01:24 +0000
Re: anyone take a shot at this Bill Sloman <bill.sloman@ieee.org> - 2016-04-24 13:31 +1000
Re: anyone take a shot at this bill.sloman@ieee.org - 2016-04-23 20:35 -0700
Re: anyone take a shot at this mrdarrett@gmail.com - 2016-04-23 21:26 -0700
Re: anyone take a shot at this bill.sloman@ieee.org - 2016-04-24 00:06 -0700
Re: anyone take a shot at this Jasen Betts <jasen@xnet.co.nz> - 2016-04-24 12:05 +0000
Re: anyone take a shot at this bloggs.fredbloggs.fred@gmail.com - 2016-04-20 18:18 -0700
Re: anyone take a shot at this Jamie M <jmorken@shaw.ca> - 2016-04-21 00:35 -0700
Re: anyone take a shot at this bill.sloman@ieee.org - 2016-04-21 00:44 -0700
csiph-web