Searched refs:dig (Results 1 – 3 of 3) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
D | gdtoa.c | 158 int bbits, b2, b5, be0, dig, i, ieps, ilim, ilim0, ilim1, inex; local 664 dig = quorem(b,S) + '0'; 676 if (dig == '9') 683 dig++; 686 *s++ = dig; 701 *s++ = dig; 711 dig = quorem(b,S) + '0'; 713 if (dig++ == '9') 726 if ((j1 > 0 || (j1 == 0 && dig & 1)) 728 && dig++ == '9') [all …]
|
D | dtoa.c | 118 int bbits, b2, b5, be, dig, i, ieps, ilim, ilim0, ilim1, local 664 dig = quorem(b,S) + '0'; 680 if (dig == '9') 683 dig++; 688 *s++ = dig; 718 if ((j1 > 0 || (j1 == 0 && dig & 1)) 720 && dig++ == '9') 724 *s++ = dig; 732 if (dig == '9') { /* possible if i == 1 */ 737 *s++ = dig + 1; [all …]
|
/bionic/libc/stdio/ |
D | printf_common.h | 265 #define APPEND_DIGIT(val, dig) \ argument 269 if ((val) > INT_MAX - to_digit((dig))) goto overflow; \ 270 (val) += to_digit((dig)); \
|