Branch Coverage

lib/smallnum/XS.xs
Criterion Covered Total %
branch 25 28 89.2


line true false branch
18 285 280 while (p < 1.0) {
21 0 285 if (places > 18) break;
34 189 91 if (dot) {
35 386 0 while (len > 1 && num[len - 1] == '0') {
197 189 while (len > 1 && num[len - 1] == '0') {
38 189 0 if (len > 0 && num[len - 1] == '.') {
126 63 if (len > 0 && num[len - 1] == '.') {
43 32 248 if (val_out < val) {
57 158 4 if (SvROK(n)) {
98 121 1 : PRECISION * SN_CEIL((num - OFFSET * PRECISION) / PRECISION);
108 11 1 snum_t out = (num1 && num2)
109 3 4 ? (SvOK(ST(2)) && SvIV(ST(2)) > 0
111 7 4 : num1 / num2)
112 12 1 : 0;