ryu_headers/common.h | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 22 | 54.5 |
line | true | false | branch |
---|---|---|---|
33 | 0 | 45 | assert(v < 1000000000); |
34 | 15 | 30 | if (v >= 100000000) { return 9; } |
35 | 0 | 30 | if (v >= 10000000) { return 8; } |
36 | 0 | 30 | if (v >= 1000000) { return 7; } |
37 | 0 | 30 | if (v >= 100000) { return 6; } |
38 | 0 | 30 | if (v >= 10000) { return 5; } |
39 | 0 | 30 | if (v >= 1000) { return 4; } |
40 | 0 | 30 | if (v >= 100) { return 3; } |
41 | 0 | 30 | if (v >= 10) { return 2; } |
73 | 0 | 20 | assert(e >= 0); |
74 | 0 | 20 | assert(e <= 1650); |