line |
true |
false |
branch |
38
|
5089 |
10 |
U8 ending = ending4value(value); |
|
81 |
5008 |
U8 ending = ending4value(value); |
|
36 |
45 |
U8 ending = ending4value(value); |
40
|
2 |
5097 |
if (words) { |
41
|
2 |
0 |
if (value % 100 < 20) { |
42
|
2 |
0 |
const char *word = strcmp(funits[value % 100], "") ? funits[value % 100] : zero; |
59
|
14503 |
502 |
U8 ending = ending4value(value); |
|
4068 |
10435 |
U8 ending = ending4value(value); |
|
1802 |
2266 |
U8 ending = ending4value(value); |
61
|
9990 |
5015 |
if (!value) { |
62
|
3996 |
5994 |
if (!decade) |
66
|
5015 |
0 |
if (words) { |
68
|
4012 |
1003 |
char **units = (char **) (decade == THOUSAND ? funits : munits); |
69
|
997 |
4018 |
if (value % 100 < 20) { |
86
|
1 |
5100 |
if (unlikely(amount < MONEY_MIN)) |
88
|
1 |
5099 |
if (unlikely(amount >= MONEY_MAX)) |
90
|
1003 |
4096 |
if (unlikely(amount >= pow(1e3, TRILLION))) |
93
|
4096 |
1003 |
U8 kopeck_v = amount < pow(1e3, TRILLION) ? double2kopeck(amount) : 0; |
98
|
15005 |
5099 |
for (decade = UNIT; ruble_v > 0; ruble_v /= 1000, decade++) |
102
|
20104 |
5099 |
while (av_len(stack) + 1) |
114
|
5099 |
0 |
ST(0) = money2words(aTHX_ SvNV(amount), true, false); |
121
|
2 |
0 |
ST(0) = money2words(aTHX_ SvNV(amount), true, true); |