CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: 2kaud

Search: Search took 0.04 seconds.

  1. Thread: Seive of Atkin

    by 2kaud
    Replies
    16
    Views
    4,694

    Re: Seive of Atkin

    How many decades do you have in which to do this and to how many super-computers do you have access?:eek:
  2. Thread: Seive of Atkin

    by 2kaud
    Replies
    16
    Views
    4,694

    Re: Seive of Atkin

    Why do you want to calculate prime numbers this large? Do you want to know if a particular number is prime or do you want to generate a large number which is prime? Generating a large number which is...
  3. Thread: Seive of Atkin

    by 2kaud
    Replies
    16
    Views
    4,694

    Re: Seive of Atkin

    No it doesn't. Neither does the program you posted in post #1. The limit of the posted program is the size of the arrays that can be created on the stack (although the program could be changed to...
  4. Thread: Seive of Atkin

    by 2kaud
    Replies
    16
    Views
    4,694

    Re: Seive of Atkin

    I don't know how fast this Sieve Of Atkin program is supposed to be for generating prime numbers, but on my 2.4Ghz system my program generates prime numbers up to 10000000 in just under 5 seconds...
  5. Thread: Seive of Atkin

    by 2kaud
    Replies
    16
    Views
    4,694

    Re: Seive of Atkin

    There are other compile time problems apart from the one highlighted by Paul in post #4. Also, if you correct the compile problems there is then a run-time error of an unknown exception produced for...
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured