19 January 2017 11:31:45 PM

PRIME_SERIAL_PRB
  C version
  Test the PRIME_SERIAL library.

TEST01
  Call PRIME_NUMBER to count the primes from 1 to N.

         N        Pi          Time

         1         0        0.000000
         2         1        0.000000
         4         2        0.000000
         8         4        0.000000
        16         6        0.000001
        32        11        0.000001
        64        18        0.000002
       128        31        0.000006
       256        54        0.000018
       512        97        0.000061
      1024       172        0.000352
      2048       309        0.000735
      4096       564        0.002745
      8192      1028        0.010394
     16384      1900        0.036967
     32768      3512        0.134981
     65536      6542        0.502986
    131072     12251        1.939046

TEST01
  Call PRIME_NUMBER to count the primes from 1 to N.

         N        Pi          Time

         5         3        0.000000
        50        15        0.000002
       500        95        0.000059
      5000       669        0.004108
     50000      5133        0.306134
    500000     41538       26.122533

PRIME_SERIAL_PRB
  Normal end of execution.

19 January 2017 11:32:14 PM