Branch Coverage

s2d.c
Criterion Covered Total %
branch 0 88 0.0


line true false branch
83 0 0 if (len == 0) {
95 0 0 if (buffer[i] == '-') {
99 0 0 for (; i < len; i++) {
101 0 0 if (c == '.') {
102 0 0 if (dotIndex != len) {
108 0 0 if ((c < '0') || (c > '9')) {
0 0 if ((c < '0') || (c > '9')) {
111 0 0 if (m10digits >= 17) {
115 0 0 if (m10 != 0) {
119 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'))) {
122 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] == '+'))) {
126 0 0 for (; i < len; i++) {
128 0 0 if ((c < '0') || (c > '9')) {
0 0 if ((c < '0') || (c > '9')) {
131 0 0 if (e10digits > 3) {
136 0 0 if (e10 != 0) {
141 0 0 if (i < len) {
144 0 0 if (signedE) {
147 0 0 e10 -= dotIndex < eIndex ? eIndex - dotIndex - 1 : 0;
148 0 0 if (m10 == 0) {
149 0 0 *result = signedM ? -0.0 : 0.0;
160 0 0 if ((m10digits + e10 <= -324) || (m10 == 0)) {
0 0 if ((m10digits + e10 <= -324) || (m10 == 0)) {
166 0 0 if (m10digits + e10 >= 310) {
178 0 0 if (e10 >= 0) {
193 0 0 assert(j >= 0);
199 0 0 assert(e10 < DOUBLE_POW5_TABLE_SIZE);
207 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));
216 0 0 assert(-e10 < DOUBLE_POW5_INV_TABLE_SIZE);
229 0 0 if (ieee_e2 > 0x7fe) {
239 0 0 int32_t shift = (ieee_e2 == 0 ? 1 : ieee_e2) - e2 - DOUBLE_EXPONENT_BIAS - DOUBLE_MANTISSA_BITS;
240 0 0 assert(shift >= 0);
253 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));
260 0 0 assert(ieee_m2 <= (1ull << (DOUBLE_MANTISSA_BITS + 1)));
262 0 0 if (ieee_m2 == 0 && roundUp) {
0 0 if (ieee_m2 == 0 && roundUp) {