Lines Matching refs:exp
68 mp_exp_t exp;
98 exp as 1. */
123 s = mpf_get_str (NULL, &exp, p->base, ndigits, f);
128 printf (" exp %ld\n", exp);
134 ? ndigits >= MAX (1, exp + p->prec + 2) : 1);
148 prec = MAX (0, len-exp); /* retain all digits */
152 newlen = exp + prec;
158 exp = 0;
188 exp++;
212 adjust exp to match. */
214 exp = 0;
218 ASSERT (len == 0 ? exp == 0 : 1);
219 if (exp <= 0)
224 fraczeros = -exp;
230 intlen = MIN (len, exp);
231 intzeros = exp - intlen;
254 expval = (exp-intlen);
283 /* The exponent for "scientific" will be exp-1, choose scientific if
285 exp==0 and get the desired "fixed". This rule follows glibc. For
288 if (exp-1 < -4 || exp-1 >= MAX (1, prec))
377 DOPRNT_MEMORY_MAYBE (exponent, explen); /* exp */