Lines Matching refs:nd
497 BCinfo { int dp0, dp1, dplen, dsign, e0, inexact, nd, nd0, rounding, scale, uflchk; }; member
714 (s, nd0, nd, y9, dplen) CONST char *s; int nd0, nd, dplen; ULong y9; in s2b() argument
716 (const char *s, int nd0, int nd, ULong y9, int dplen)
723 x = (nd + 8) / 9;
744 for(; i < nd; i++)
2332 int b2, bbits, d2, dd, dig, dsign, i, j, nd, nd0, p2, p5, speccase; local
2335 nd = bc->nd;
2337 p5 = nd + bc->e0 - 1;
2439 if (i < nd)
2446 for(j = bc->dp1; i++ < nd;) {
2450 if (i < nd)
2540 int esign, i, j, k, nd, nd0, nf, nz, nz0, nz1, sign; local
2616 for(nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++)
2617 if (nd < 9)
2619 else if (nd < DBL_DIG + 2)
2621 nd0 = nd;
2648 if (!nd) {
2667 if (nd++ < 9)
2669 else if (nd <= DBL_DIG + 2)
2671 if (nd++ < 9)
2673 else if (nd <= DBL_DIG + 2)
2680 if (nd < 0) {
2682 nd = DBL_DIG + 2;
2690 if (!nd && !nz && !nz0) {
2725 if (!nd) {
2769 nd0 = nd;
2770 k = nd < DBL_DIG + 2 ? nd : DBL_DIG + 2;
2780 if (nd <= DBL_DIG
2806 i = DBL_DIG - nd;
2852 e1 += nd - k;
3000 bc.nd = nd - nz1;
3005 if (nd > strtod_diglim) {
3019 e += nd - i;
3020 nd = i;
3021 if (nd0 > nd)
3022 nd0 = nd;
3023 if (nd < 9) { /* must recompute y */
3027 for(j = bc.dp1; i < nd; ++i)
3032 bd0 = s2b(s0, nd0, nd, y, bc.dplen);
3121 if (bc.nd > nd && i <= 0) {
3305 if (bc.nd >nd) {
3322 if (bc.nd >nd) {
3338 if (bc.nd > nd)
3372 if (bc.nd >nd) {
3392 if (bc.nd >nd) {
3493 if (bc.nd >nd) {
3530 if (bc.nd == nd) {