sieve.h | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 14 | 35.7 |
line | true | false | branch |
---|---|---|---|
73 | 0 | 13790 | if (p < 7) |
74 | 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; | |
76 | 0 | 13790 | if (p >= lastp) return 0; |
80 | 1209 | 13790 | while (s == 0xFF) { |
82 | 0 | 1209 | if (d*30 >= lastp) return 0; |