1 --- dtor/src/dtoa.c.coverity
4 typedef unsigned Long ULong;
12 #define Bug(x) {fprintf(stderr, "%s\n", x); exit(1);}
14 int dtoa_stats[7]; /* strtod_{64,96,bigcomp},dtoa_{exact,64,96,bigcomp} */
16 -#define assert(x) /*nothing*/
17 #define Debug(x) /*nothing*/
22 if ((k = lo0bits(&y))) {
23 x[0] = y | z << (32 - k);
24 + assert(k < 32); /* https://bugs.python.org/issue23999 */
29 || ((n = nbits & kmask) !=0
30 && hi0bits(x[k-1]) < 32-n)) {
32 + /* coverity[dead_error_line] - not worth investigating */
37 if ((dd = s0[j++] - '0' - dig))
39 if (!b->x[0] && b->wds == 1) {
40 + /* coverity[copy_paste_error : FALSE] */