util.h | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 12 | 66.6 |
line | true | false | branch |
---|---|---|---|
105 | 0 | 20 | if (n >= UVCONST(18446744065119617025)) return UVCONST(4294967295); |
108 | 0 | 20 | while (root*root > n) root--; |
109 | 0 | 20 | while ((root+1)*(root+1) <= n) root++; |
122 | 0 | 20 | if (n >= UVCONST(18446724184312856125)) return UVCONST(2642245); |
124 | 440 | 20 | for ( ; s >= 0; s -= 3) { |
127 | 124 | 316 | if ((n >> s) >= b) { |