Home
last modified time | relevance | path

Searched refs:nd (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
Dstrtod.c94 e, e1, esign, i, j, k, nd, nd0, nf, nz, nz0, sign; local
205 for(nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++)
206 if (nd < 9)
208 else if (nd < 16)
210 nd0 = nd;
223 if (!nd) {
240 if (nd++ < 9)
242 else if (nd <= DBL_DIG + 1)
244 if (nd++ < 9)
246 else if (nd <= DBL_DIG + 1)
[all …]
Dsmisc.c37 (s, nd0, nd, y9, dplen) CONST char *s; int dplen, nd0, nd; ULong y9; in s2b() argument
39 (CONST char *s, int nd0, int nd, ULong y9, int dplen)
46 x = (nd + 8) / 9;
74 for(; i < nd; i++) {
Dstrtodg.c348 int j, k, nbits, nd, nd0, nf, nz, nz0, rd, rvbits, rve, rve1, sign; local
427 for(decpt = nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++)
428 if (nd < 9)
430 else if (nd < 16)
432 nd0 = nd;
445 if (!nd) {
462 if (nd++ < 9)
464 else if (nd <= DBL_DIG + 1)
466 if (nd++ < 9)
468 else if (nd <= DBL_DIG + 1)
[all …]