This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:fall2020:discrete:projects:pnc1 [2020/09/15 14:25] – [Makefile operations] wedge | haas:fall2020:discrete:projects:pnc1 [2020/10/11 13:27] (current) – [Evaluation Criteria] wedge | ||
---|---|---|---|
Line 19: | Line 19: | ||
=====Objective===== | =====Objective===== | ||
To continue our exploration of algorithms and optimizations applied to them, through further work on the prime number computation programs started in pnc0. | To continue our exploration of algorithms and optimizations applied to them, through further work on the prime number computation programs started in pnc0. | ||
+ | |||
=====Background===== | =====Background===== | ||
In mathematics, | In mathematics, | ||
Line 397: | Line 398: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
</ | </ | ||
Line 613: | Line 614: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 | 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 | ||
0.0001 | 0.0001 | ||
- | lab46: | + | lab46: |
</ | </ | ||
Line 625: | Line 626: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
./ | ./ | ||
- | lab46: | + | lab46: |
</ | </ | ||
Line 636: | Line 637: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
7 11 13 17 19 23 | 7 11 13 17 19 23 | ||
0.0001 | 0.0001 | ||
- | lab46: | + | lab46: |
</ | </ | ||
Line 647: | Line 648: | ||
If you'd like to compare your implementations, | If you'd like to compare your implementations, | ||
- | In order to work, you **MUST** be in the directory where your pnc0 binaries reside, and must be named as such (which occurs if you ran **make** to compile them). | + | In order to work, you **MUST** be in the directory where your pnc1 binaries reside, and must be named as such (which occurs if you ran **make** to compile them). |
====check qty==== | ====check qty==== | ||
- | For instance (running on my implementation of the pnc0 programs, some output omitted to keep the surprise alive): | + | For instance (running on my implementation of the pnc1 programs, some output omitted to keep the surprise alive): |
<cli> | <cli> | ||
Line 793: | Line 794: | ||
*: | *: | ||
*: | *: | ||
- | *: | + | *: |
*: | *: | ||
*: | *: | ||
- | *: | ||
</ | </ | ||