sieve.h | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 14 | 35.7 |
line | true | false | branch |
---|---|---|---|
71 | 0 | 10461 | if (p < 7) |
72 | 0 | 0 | return (p < 2) ? 2 : (p < 3) ? 3 : (p < 5) ? 5 : 7; |
0 | 0 | return (p < 2) ? 2 : (p < 3) ? 3 : (p < 5) ? 5 : 7; | |
0 | 0 | return (p < 2) ? 2 : (p < 3) ? 3 : (p < 5) ? 5 : 7; | |
74 | 0 | 10461 | if (p >= lastp) return 0; |
78 | 877 | 10461 | while (s == 0xFF) { |
80 | 0 | 877 | if (d*30 >= lastp) return 0; |