line |
true |
false |
branch |
75
|
0 |
0 |
if (len == 0) { |
87
|
0 |
0 |
if (buffer[i] == '-') { |
91
|
0 |
0 |
for (; i < len; i++) { |
93
|
0 |
0 |
if (c == '.') { |
94
|
0 |
0 |
if (dotIndex != len) { |
100
|
0 |
0 |
if ((c < '0') || (c > '9')) { |
|
0 |
0 |
if ((c < '0') || (c > '9')) { |
103
|
0 |
0 |
if (m10digits >= 17) { |
107
|
0 |
0 |
if (m10 != 0) { |
111
|
0 |
0 |
if (i < len && ((buffer[i] == 'e') || (buffer[i] == 'E'))) { |
|
0 |
0 |
if (i < len && ((buffer[i] == 'e') || (buffer[i] == 'E'))) { |
|
0 |
0 |
if (i < len && ((buffer[i] == 'e') || (buffer[i] == 'E'))) { |
114
|
0 |
0 |
if (i < len && ((buffer[i] == '-') || (buffer[i] == '+'))) { |
|
0 |
0 |
if (i < len && ((buffer[i] == '-') || (buffer[i] == '+'))) { |
|
0 |
0 |
if (i < len && ((buffer[i] == '-') || (buffer[i] == '+'))) { |
118
|
0 |
0 |
for (; i < len; i++) { |
120
|
0 |
0 |
if ((c < '0') || (c > '9')) { |
|
0 |
0 |
if ((c < '0') || (c > '9')) { |
123
|
0 |
0 |
if (e10digits > 3) { |
128
|
0 |
0 |
if (e10 != 0) { |
133
|
0 |
0 |
if (i < len) { |
136
|
0 |
0 |
if (signedE) { |
139
|
0 |
0 |
e10 -= dotIndex < eIndex ? eIndex - dotIndex - 1 : 0; |
140
|
0 |
0 |
if (m10 == 0) { |
141
|
0 |
0 |
*result = signedM ? -0.0 : 0.0; |
152
|
0 |
0 |
if ((m10digits + e10 <= -324) || (m10 == 0)) { |
|
0 |
0 |
if ((m10digits + e10 <= -324) || (m10 == 0)) { |
158
|
0 |
0 |
if (m10digits + e10 >= 310) { |
170
|
0 |
0 |
if (e10 >= 0) { |
185
|
0 |
0 |
assert(j >= 0); |
191
|
0 |
0 |
assert(e10 < DOUBLE_POW5_TABLE_SIZE); |
199
|
0 |
0 |
trailingZeros = e2 < e10 || (e2 - e10 < 64 && multipleOfPowerOf2(m10, e2 - e10)); |
|
0 |
0 |
trailingZeros = e2 < e10 || (e2 - e10 < 64 && multipleOfPowerOf2(m10, e2 - e10)); |
|
0 |
0 |
trailingZeros = e2 < e10 || (e2 - e10 < 64 && multipleOfPowerOf2(m10, e2 - e10)); |
208
|
0 |
0 |
assert(-e10 < DOUBLE_POW5_INV_TABLE_SIZE); |
221
|
0 |
0 |
if (ieee_e2 > 0x7fe) { |
231
|
0 |
0 |
int32_t shift = (ieee_e2 == 0 ? 1 : ieee_e2) - e2 - DOUBLE_EXPONENT_BIAS - DOUBLE_MANTISSA_BITS; |
232
|
0 |
0 |
assert(shift >= 0); |
245
|
0 |
0 |
bool roundUp = (lastRemovedBit != 0) && (!trailingZeros || (((m2 >> shift) & 1) != 0)); |
|
0 |
0 |
bool roundUp = (lastRemovedBit != 0) && (!trailingZeros || (((m2 >> shift) & 1) != 0)); |
|
0 |
0 |
bool roundUp = (lastRemovedBit != 0) && (!trailingZeros || (((m2 >> shift) & 1) != 0)); |
252
|
0 |
0 |
assert(ieee_m2 <= (1ull << (DOUBLE_MANTISSA_BITS + 1))); |
254
|
0 |
0 |
if (ieee_m2 == 0 && roundUp) { |
|
0 |
0 |
if (ieee_m2 == 0 && roundUp) { |