Thread: isPrime

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #20
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,694
    The isPrime N was significantly less than the N of the sieve of Eratosthenes. (my fault of course)

    So, isPrime gave me 0.570000, while the other remains 0.
    Last edited by std10093; 01-24-2013 at 11:12 AM. Reason: typo
    Code - functions and small libraries I use


    It’s 2014 and I still use printf() for debugging.


    "Programs must be written for people to read, and only incidentally for machines to execute. " —Harold Abelson

Popular pages Recent additions subscribe to a feed