BASE_FIG 750 ext/bigdecimal/bigdecimal.c if (e > (SIGNED_VALUE)(DBL_MAX_10_EXP+BASE_FIG)) BASE_FIG 752 ext/bigdecimal/bigdecimal.c if (e < (SIGNED_VALUE)(DBL_MIN_10_EXP-BASE_FIG)) BASE_FIG 1664 ext/bigdecimal/bigdecimal.c n = GetPositiveInt(nFig) + VpDblFig() + BASE_FIG; BASE_FIG 3778 ext/bigdecimal/bigdecimal.c if (vp == NULL) return BASE_FIG*2+6; BASE_FIG 3783 ext/bigdecimal/bigdecimal.c nc = BASE_FIG*(vp->Prec + 1)+2; BASE_FIG 3786 ext/bigdecimal/bigdecimal.c nc += BASE_FIG*(size_t)(-ex); BASE_FIG 3790 ext/bigdecimal/bigdecimal.c nc += BASE_FIG*((size_t)ex - vp->Prec); BASE_FIG 3797 ext/bigdecimal/bigdecimal.c nc = BASE_FIG*(vp->Prec + 2)+6; /* 3: sign + exponent chars */ BASE_FIG 3839 ext/bigdecimal/bigdecimal.c printf(" BASE_FIG = %u\n", BASE_FIG); BASE_FIG 3862 ext/bigdecimal/bigdecimal.c if (MUL_OVERFLOW_SIGNED_VALUE_P(m, (SIGNED_VALUE)BASE_FIG) || BASE_FIG 3863 ext/bigdecimal/bigdecimal.c MUL_OVERFLOW_SIGNED_VALUE_P(e, (SIGNED_VALUE)BASE_FIG)) BASE_FIG 3865 ext/bigdecimal/bigdecimal.c mb = m*(SIGNED_VALUE)BASE_FIG; BASE_FIG 3866 ext/bigdecimal/bigdecimal.c eb = e*(SIGNED_VALUE)BASE_FIG; BASE_FIG 3871 ext/bigdecimal/bigdecimal.c if (MUL_OVERFLOW_SIGNED_VALUE_P(m, (SIGNED_VALUE)BASE_FIG) || BASE_FIG 3872 ext/bigdecimal/bigdecimal.c MUL_OVERFLOW_SIGNED_VALUE_P(e, (SIGNED_VALUE)BASE_FIG)) BASE_FIG 3874 ext/bigdecimal/bigdecimal.c mb = m*(SIGNED_VALUE)BASE_FIG; BASE_FIG 3875 ext/bigdecimal/bigdecimal.c eb = e*(SIGNED_VALUE)BASE_FIG; BASE_FIG 3914 ext/bigdecimal/bigdecimal.c mx = (mx + BASE_FIG - 1) / BASE_FIG; /* Determine allocation unit. */ BASE_FIG 3921 ext/bigdecimal/bigdecimal.c mf = (mf + BASE_FIG - 1) / BASE_FIG + 2; /* Needs 1 more for div */ BASE_FIG 4035 ext/bigdecimal/bigdecimal.c nalloc = (ni + nf + BASE_FIG - 1) / BASE_FIG + 1; /* set effective allocation */ BASE_FIG 4097 ext/bigdecimal/bigdecimal.c return c->Prec * BASE_FIG; BASE_FIG 4140 ext/bigdecimal/bigdecimal.c return c->Prec * BASE_FIG; BASE_FIG 4145 ext/bigdecimal/bigdecimal.c return c->Prec*BASE_FIG; BASE_FIG 4191 ext/bigdecimal/bigdecimal.c return c->Prec * BASE_FIG; BASE_FIG 4231 ext/bigdecimal/bigdecimal.c return c->Prec * BASE_FIG; BASE_FIG 4455 ext/bigdecimal/bigdecimal.c size_t const round_limit = (VpGetPrecLimit() + BASE_FIG - 1) / BASE_FIG; BASE_FIG 4607 ext/bigdecimal/bigdecimal.c c = VpAlloc((size_t)((MxIndAB + 1) * BASE_FIG), "#0"); BASE_FIG 4683 ext/bigdecimal/bigdecimal.c return c->Prec*BASE_FIG; BASE_FIG 4897 ext/bigdecimal/bigdecimal.c return c->Prec * BASE_FIG; BASE_FIG 5181 ext/bigdecimal/bigdecimal.c ex = a->exponent * (ssize_t)BASE_FIG; BASE_FIG 5307 ext/bigdecimal/bigdecimal.c ex = a->exponent * (ssize_t)BASE_FIG; BASE_FIG 5340 ext/bigdecimal/bigdecimal.c for (i=0; i < BASE_FIG; ++i) *psz++ = '0'; BASE_FIG 5413 ext/bigdecimal/bigdecimal.c if (MUL_OVERFLOW_SIGNED_VALUE_P(e, (SIGNED_VALUE)BASE_FIG)) { BASE_FIG 5417 ext/bigdecimal/bigdecimal.c es = e * (SIGNED_VALUE)BASE_FIG; BASE_FIG 5422 ext/bigdecimal/bigdecimal.c if (MUL_OVERFLOW_SIGNED_VALUE_P(e, (SIGNED_VALUE)BASE_FIG)) BASE_FIG 5424 ext/bigdecimal/bigdecimal.c if (es > (SIGNED_VALUE)(e * BASE_FIG)) { BASE_FIG 5461 ext/bigdecimal/bigdecimal.c ef = eb / (SIGNED_VALUE)BASE_FIG; BASE_FIG 5462 ext/bigdecimal/bigdecimal.c ef = eb - ef * (SIGNED_VALUE)BASE_FIG; BASE_FIG 5469 ext/bigdecimal/bigdecimal.c eb = e / (SIGNED_VALUE)BASE_FIG; BASE_FIG 5486 ext/bigdecimal/bigdecimal.c while (j < BASE_FIG && i < mi) { BASE_FIG 5502 ext/bigdecimal/bigdecimal.c while (j < BASE_FIG && i < nf) { BASE_FIG 5520 ext/bigdecimal/bigdecimal.c while (j < BASE_FIG) { BASE_FIG 5584 ext/bigdecimal/bigdecimal.c fig = (DBLE_FIG + BASE_FIG - 1) / BASE_FIG; BASE_FIG 5593 ext/bigdecimal/bigdecimal.c *e = m->exponent * (SIGNED_VALUE)BASE_FIG; BASE_FIG 5780 ext/bigdecimal/bigdecimal.c f = VpAlloc(y->MaxPrec * (BASE_FIG + 2), "#1"); BASE_FIG 5781 ext/bigdecimal/bigdecimal.c r = VpAlloc((n + n) * (BASE_FIG + 2), "#1"); BASE_FIG 5793 ext/bigdecimal/bigdecimal.c e /= (SIGNED_VALUE)BASE_FIG; BASE_FIG 5801 ext/bigdecimal/bigdecimal.c n = (SIGNED_VALUE)((DBLE_FIG + BASE_FIG - 1) / BASE_FIG); BASE_FIG 5804 ext/bigdecimal/bigdecimal.c n = (SIGNED_VALUE)(y_prec * BASE_FIG); BASE_FIG 5866 ext/bigdecimal/bigdecimal.c nf += y->exponent * (ssize_t)BASE_FIG; BASE_FIG 5878 ext/bigdecimal/bigdecimal.c ix = nf / (ssize_t)BASE_FIG; BASE_FIG 5882 ext/bigdecimal/bigdecimal.c ioffset = nf - ix*(ssize_t)BASE_FIG; BASE_FIG 5883 ext/bigdecimal/bigdecimal.c n = (ssize_t)BASE_FIG - ioffset - 1; BASE_FIG 6004 ext/bigdecimal/bigdecimal.c y->exponent += (SIGNED_VALUE)(exptoadd / BASE_FIG); BASE_FIG 6005 ext/bigdecimal/bigdecimal.c exptoadd %= (ssize_t)BASE_FIG; BASE_FIG 6026 ext/bigdecimal/bigdecimal.c nf -= VpExponent(y) * (ssize_t)BASE_FIG; BASE_FIG 6028 ext/bigdecimal/bigdecimal.c nf += (ssize_t)BASE_FIG-1; BASE_FIG 6047 ext/bigdecimal/bigdecimal.c if ((ix + BASE_FIG - 1) / BASE_FIG > ixDigit + 1) return 0; BASE_FIG 6238 ext/bigdecimal/bigdecimal.c w1 = VpAlloc((y->MaxPrec + 2) * BASE_FIG, "#0"); BASE_FIG 6239 ext/bigdecimal/bigdecimal.c w2 = VpAlloc((w1->MaxPrec * 2 + 1) * BASE_FIG, "#0");