Lines Matching refs:nd
501 BCinfo { int dp0, dp1, dplen, dsign, e0, inexact, nd, nd0, rounding, scale, uflchk; }; member
697 (s, nd0, nd, y9, dplen) CONST char *s; int nd0, nd, dplen; ULong y9; in s2b() argument
699 (const char *s, int nd0, int nd, ULong y9, int dplen)
706 x = (nd + 8) / 9;
727 for(; i < nd; i++)
2317 int b2, bbits, d2, dd, dig, dsign, i, j, nd, nd0, p2, p5, speccase; local
2320 nd = bc->nd;
2322 p5 = nd + bc->e0 - 1;
2424 if (i < nd)
2431 for(j = bc->dp1; i++ < nd;) {
2435 if (i < nd)
2525 int esign, i, j, k, nd, nd0, nf, nz, nz0, nz1, sign; local
2601 for(nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++)
2602 if (nd < 9)
2604 else if (nd < DBL_DIG + 2)
2606 nd0 = nd;
2633 if (!nd) {
2652 if (nd++ < 9)
2654 else if (nd <= DBL_DIG + 2)
2656 if (nd++ < 9)
2658 else if (nd <= DBL_DIG + 2)
2665 if (nd < 0) {
2667 nd = DBL_DIG + 2;
2675 if (!nd && !nz && !nz0) {
2711 if (!nd) {
2755 nd0 = nd;
2756 k = nd < DBL_DIG + 2 ? nd : DBL_DIG + 2;
2766 if (nd <= DBL_DIG
2792 i = DBL_DIG - nd;
2838 e1 += nd - k;
2986 bc.nd = nd - nz1;
2991 if (nd > strtod_diglim) {
3005 e += nd - i;
3006 nd = i;
3007 if (nd0 > nd)
3008 nd0 = nd;
3009 if (nd < 9) { /* must recompute y */
3013 for(j = bc.dp1; i < nd; ++i)
3018 bd0 = s2b(s0, nd0, nd, y, bc.dplen);
3107 if (bc.nd > nd && i <= 0) {
3291 if (bc.nd >nd) {
3308 if (bc.nd >nd) {
3324 if (bc.nd > nd)
3358 if (bc.nd >nd) {
3378 if (bc.nd >nd) {
3479 if (bc.nd >nd) {
3516 if (bc.nd == nd) {