CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17

Thread: Seive of Atkin

  1. #16
    Join Date
    Apr 2000
    Belgium (Europe)

    Re: Seive of Atkin

    also just because they have found that mersenne prime number, does not mean that all the possible primes between 1 and that number have been actually found.

    Note that it has taken the cooperative effort of Thousands of computers for 4.5 years to find that number over the previously found largest mersene prime (243112609-1).

    Your chances to find primes in this order of magnitude on your home PC are... near non-existant.

  2. #17
    Join Date
    Apr 1999

    Re: Seive of Atkin

    Quote Originally Posted by OReubens View Post
    It is legal for some C compilers.
    Yes. However that code has never been legal for Visual C++, and it has never been legal ANSI C++. Given that the question was posted in the Visual C++ forum, might as well point out that the code as-is will not compile.


    Paul McKenzie

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.