Lines Matching refs:exponent
145 exponent = fpnum.ldbl.ieee.exponent; \
147 if (exponent == 0) \
156 exponent bias is the same for normalized and denormalized \
158 exponent = LONG_DOUBLE_DENORM_BIAS + 3; \
161 else if (exponent >= IEEE854_LONG_DOUBLE_BIAS + 3) \
164 exponent -= IEEE854_LONG_DOUBLE_BIAS + 3; \
169 exponent = -(exponent - (IEEE854_LONG_DOUBLE_BIAS + 3)); \
207 /* The maximal exponent of two in decimal notation has 5 digits. */
213 int exponent = 0;
391 leading = fpnum.dbl.ieee.exponent == 0 ? '0' : '1';
393 exponent = fpnum.dbl.ieee.exponent;
395 if (exponent == 0)
403 exponent = IEEE754_DOUBLE_BIAS - 1;
406 else if (exponent >= IEEE754_DOUBLE_BIAS)
409 exponent -= IEEE754_DOUBLE_BIAS;
414 exponent = -(exponent - IEEE754_DOUBLE_BIAS);
489 exponent -= 4;
490 if (exponent <= 0)
492 exponent = -exponent;
497 exponent += 4;
510 /* Now we can compute the exponent string. */
511 expstr = _itoa_word (exponent, expbuf + sizeof expbuf, 10, 0);
512 wexpstr = _itowa_word (exponent,